slackbuilds_ponce/system/google-fonts/doinst.sh
Fernando Lopez Jr 49bf6be3c4 system/google-fonts: Added (complete collection from Google Fonts).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-09-08 17:36:59 +01:00

11 lines
225 B
Bash

# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
( cd /usr/share/fonts/TTF
mkfontscale .
mkfontdir .
)
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi