diff options
author | feld <feld@FreeBSD.org> | 2015-04-07 04:22:58 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-04-07 04:22:58 +0800 |
commit | a17f384fff82ab2c4391c4d290deaa3c8cdc1b33 (patch) | |
tree | e4cb19acf8551084fa08653a8d9d7dcdc148a8cf /Keywords | |
parent | f96f5c4cfc49f3f90ffcd896a67c265c98cebd51 (diff) | |
download | freebsd-ports-gnome-a17f384fff82ab2c4391c4d290deaa3c8cdc1b33.tar.gz freebsd-ports-gnome-a17f384fff82ab2c4391c4d290deaa3c8cdc1b33.tar.zst freebsd-ports-gnome-a17f384fff82ab2c4391c4d290deaa3c8cdc1b33.zip |
Add -f flag to force scanning of font directories
Differential Revision: https://reviews.freebsd.org/D2245
Diffstat (limited to 'Keywords')
-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 |