aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2013-12-20 22:26:13 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2013-12-20 22:26:13 +0000
commit1d45334d44a9dc44c5b904b61d5eda133114091c (patch)
tree48c2e57b8abfa5c321132e3c02bc25df71a91aec /Keywords
parent85a0230c9cfbb71534e0b1ef6d43560533db0e35 (diff)
downloadports-1d45334d44a9dc44c5b904b61d5eda133114091c.tar.gz
ports-1d45334d44a9dc44c5b904b61d5eda133114091c.zip
Fix fontdir handling to work properly.
Fix the name of mkfontdir and use correct paths.
Notes
Notes: svn path=/head/; revision=337096
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/fontsdir.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/Keywords/fontsdir.yaml b/Keywords/fontsdir.yaml
index 2f1fdea3504c..55357f7fd1ba 100644
--- a/Keywords/fontsdir.yaml
+++ b/Keywords/fontsdir.yaml
@@ -5,13 +5,13 @@
actions: [dirrmtry]
post-install: |
mkfontscale %D/%@ 2>/dev/null || true
- mkfontsdir %D/%@ 2>/dev/null || true
+ mkfontdir %D/%@ 2>/dev/null || true
post-deinstall: |
- mkfontscale %@ 2>/dev/null || true
+ mkfontscale %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.scale -a "`stat -f '%%z' %D/%@/fonts.scale 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.scale
fi
- mkfontdir %@ 2>/dev/null || true
- if [ -e %D/%@/fonts.dir -a "`stat -f '%%z' %D/%@§fonts.dir 2>/dev/null`" = '2' ]; then
+ mkfontdir %D/%@ 2>/dev/null || true
+ if [ -e %D/%@/fonts.dir -a "`stat -f '%%z' %D/%@/fonts.dir 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.dir
fi