aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-04-07 04:22:58 +0800
committerfeld <feld@FreeBSD.org>2015-04-07 04:22:58 +0800
commita17f384fff82ab2c4391c4d290deaa3c8cdc1b33 (patch)
treee4cb19acf8551084fa08653a8d9d7dcdc148a8cf /Keywords
parentf96f5c4cfc49f3f90ffcd896a67c265c98cebd51 (diff)
downloadfreebsd-ports-graphics-a17f384fff82ab2c4391c4d290deaa3c8cdc1b33.tar.gz
freebsd-ports-graphics-a17f384fff82ab2c4391c4d290deaa3c8cdc1b33.tar.zst
freebsd-ports-graphics-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.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