diff options
author | Mark Felder <feld@FreeBSD.org> | 2015-04-06 20:22:58 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2015-04-06 20:22:58 +0000 |
commit | 68cb8aace63d9e898fa528d63c4672545faa9212 (patch) | |
tree | e4cb19acf8551084fa08653a8d9d7dcdc148a8cf /Keywords/fcfontsdir.ucl | |
parent | 008fde5bf0a918642ca3211e55a32f2ce59ae498 (diff) | |
download | ports-68cb8aace63d9e898fa528d63c4672545faa9212.tar.gz ports-68cb8aace63d9e898fa528d63c4672545faa9212.zip |
Notes
Diffstat (limited to 'Keywords/fcfontsdir.ucl')
-rw-r--r-- | Keywords/fcfontsdir.ucl | 4 |
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 |