vp-build/templates/helpers/fontconfig-update.sh
Juan RP 535d2128e5 Another set of changes for X11 related pkgs.
--HG--
extra : convert_revision : 25c37e03bcec3ec8d52cc67fb6f7df9ec2e075c3
2009-02-09 16:02:42 +01:00

10 lines
223 B
Bash

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