aboutsummaryrefslogtreecommitdiff
path: root/system/ProFont/doinst.sh
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2018-03-16 19:17:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-16 19:17:59 +0700
commit101684046c1f6ebf85afc8808926060d407d0822 (patch)
tree31eb33d5291970ed6a35dab17c3af340a5a3821d /system/ProFont/doinst.sh
parent65a4d026d8ce42307bb4cd95704e3f3d1b7a09b3 (diff)
downloadslackbuilds-101684046c1f6ebf85afc8808926060d407d0822.tar.xz
system/ProFont: Added (bitmap font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ProFont/doinst.sh')
-rw-r--r--system/ProFont/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/ProFont/doinst.sh b/system/ProFont/doinst.sh
new file mode 100644
index 000000000000..47d98fb2b966
--- /dev/null
+++ b/system/ProFont/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi