vp-build/helper-templates/fontconfig-update.sh
Juan RP 84d4f6391a Change helper-templates files to mode 644.
--HG--
extra : convert_revision : a156c08bb49d2314e667b86feba5a5a3180e39f2
2008-10-13 07:51:55 +02:00

10 lines
245 B
Bash

#
# This helpers runs fc-cache after fontconfig has been installed,
# and update its list of fonts.
#
if [ -x $XBPS_MASTERDIR/bin/fc-cache ]; then
$XBPS_MASTERDIR/bin/fc-cache -f
[ "$?" -eq 0 ] && echo "=> Updated fontconfig fonts cache."
fi