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

10 lines
247 B
Bash
Executable File

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