slackbuilds_ponce/system/ttf-ibm-plex/doinst.sh
Lazar Isailovic 478311406d system/ttf-ibm-plex: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-01-12 08:18:54 +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