slackbuilds_ponce/system/CNS11643-font/doinst.sh
CCHsu f41d295c6e system/CNS11643-font: Added (Chinese Ming and Kai font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-06-21 18:48:35 +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