Date: Mon, 6 Apr 2015 20:22:59 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383480 - head/Keywords Message-ID: <201504062022.t36KMxJH044033@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Mon Apr 6 20:22:58 2015 New Revision: 383480 URL: https://svnweb.freebsd.org/changeset/ports/383480 Log: Add -f flag to force scanning of font directories Differential Revision: https://reviews.freebsd.org/D2245 Modified: head/Keywords/fcfontsdir.ucl Modified: head/Keywords/fcfontsdir.ucl ============================================================================== --- head/Keywords/fcfontsdir.ucl Mon Apr 6 20:16:27 2015 (r383479) +++ head/Keywords/fcfontsdir.ucl Mon Apr 6 20:22:58 2015 (r383480) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504062022.t36KMxJH044033>