slackbuilds_ponce/system/adobe-source-han-sans-fonts/doinst.sh
CCHsu dc33bb9293 system/adobe-source-han-sans-fonts: Added (OpenType Pan-CJK Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-09-13 08:00:09 +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