From 1d45334d44a9dc44c5b904b61d5eda133114091c Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Fri, 20 Dec 2013 22:26:13 +0000 Subject: [PATCH] Fix fontdir handling to work properly. Fix the name of mkfontdir and use correct paths. --- Keywords/fontsdir.yaml | 8 ++++---- 1 file 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