slackbuilds_ponce/system/ttf-mscorefonts/doinst.sh
Erik Hanson 16ced1759f system/ttf-mscorefonts: Added (Microsoft TrueType core fonts)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2015-05-24 13:26:24 +07: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