aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/fcfontsdir.ucl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Keywords/fcfontsdir.ucl b/Keywords/fcfontsdir.ucl
index 280dd697b09..869526f5f53 100644
--- a/Keywords/fcfontsdir.ucl
+++ b/Keywords/fcfontsdir.ucl
@@ -8,7 +8,7 @@ post-install: <<EOD
/*) fontsdir="%@" ;;
*) fontsdir="%D/%@" ;;
esac
- fc-cache -s ${fontsdir} 2>/dev/null || true
+ fc-cache -fs ${fontsdir} 2>/dev/null || true
mkfontscale ${fontsdir} 2>/dev/null || true
mkfontdir ${fontsdir} 2>/dev/null || true
EOD
@@ -17,7 +17,7 @@ post-deinstall: <<EOD
/*) fontsdir="%@" ;;
*) fontsdir="%D/%@" ;;
esac
- fc-cache -s ${fontsdir} 2>/dev/null || true
+ fc-cache -fs ${fontsdir} 2>/dev/null || true
mkfontscale ${fontsdir} 2>/dev/null || true
if [ -e ${fontsdir}/fonts.scale -a "`stat -f '%%z' ${fontsdir}/fonts.scale 2>/dev/null`" = '2' ]; then
rm ${fontsdir}/fonts.scale