slackbuilds_ponce/system/ttf-lato/doinst.sh
Dariusz Brzezinski 6edff18fd6 system/ttf-lato: Added (TrueType Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2018-03-17 01:21:18 +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