slackbuilds_ponce/system/ttf-ubuntu-font-family/doinst.sh
Binh Nguyen 950e9acb8a system/ttf-ubuntu-font-family: Added (sans-serif typeface)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-11-29 12:45:57 +01: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