slackbuilds_ponce/system/ttf-ipaex/doinst.sh
pomfland 23c2c79895 system/ttf-ipaex: Added (Japanese fonts by IPA).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-09-20 19:44:01 +01: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