slackbuilds_ponce/system/cwtex-q-fonts/doinst.sh
CCHsu d34737a1b3 system/cwtex-q-fonts: Added (modified cwTeX TTF fonts)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2014-04-12 13:58:34 -05:00

11 lines
194 B
Bash

# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
( cd /usr/share/fonts/TTF
mkfontscale .
mkfontdir .
)
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi