vp-build/helper-templates/fontconfig-update.sh

10 lines
245 B
Bash
Raw Normal View History

#
# 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