slackbuilds_ponce/system/tewi-font/doinst.sh

13 lines
279 B
Bash
Raw Normal View History

if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
( cd /usr/share/fonts/misc
mkfontdir .
)
fi
if [ -x /usr/bin/xset ]; then
/usr/bin/xset +fp /usr/share/fonts/misc
/usr/bin/xset fp rehash
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi