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

10 lines
223 B
Bash
Raw Normal View History

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