slackbuilds_ponce/system/ttf-coda/doinst.sh
Edinaldo P. Silva ae0531a747 system/ttf-coda: Added (TrueType Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-11-29 07:01: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