aboutsummaryrefslogtreecommitdiff
path: root/Keywords/fcfontsdir.ucl
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-04-06 20:22:58 +0000
committerMark Felder <feld@FreeBSD.org>2015-04-06 20:22:58 +0000
commit68cb8aace63d9e898fa528d63c4672545faa9212 (patch)
treee4cb19acf8551084fa08653a8d9d7dcdc148a8cf /Keywords/fcfontsdir.ucl
parent008fde5bf0a918642ca3211e55a32f2ce59ae498 (diff)
downloadports-68cb8aace63d9e898fa528d63c4672545faa9212.tar.gz
ports-68cb8aace63d9e898fa528d63c4672545faa9212.zip
Notes
Diffstat (limited to 'Keywords/fcfontsdir.ucl')
-rw-r--r--Keywords/fcfontsdir.ucl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Keywords/fcfontsdir.ucl b/Keywords/fcfontsdir.ucl
index 280dd697b09d..869526f5f53a 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