slackbuilds_ponce/system/ttf-paratype-pt-fonts/doinst.sh
Alexander Verbovetsky 4b3fc19850 system/ttf-paratype-pt-fonts: Added (Public Type (PT) fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-09-24 07:03:04 +07:00

10 lines
193 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