slackbuilds_ponce/system/tewi-font/doinst.sh
Samuel Young 1b9a3d9a67 system/tewi-font: Added (small bitmap font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-06-17 08:49:12 +07:00

12 lines
279 B
Bash

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