slackbuilds_ponce/system/victor-mono-fonts/doinst.sh
Justin Teague 78bae56bc0
system/victor-mono-fonts: Updated for version 1.4.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-02-27 08:24:28 +07:00

14 lines
293 B
Bash

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