summaryrefslogtreecommitdiffstats
path: root/system/siji-font/doinst.sh
diff options
context:
space:
mode:
author Azure Zanculmarktum <zanculmarktum@gmail.com>2018-03-16 17:40:21 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-16 17:40:21 +0700
commit9f101925598c4f8a1fb4e46c1f0a9c5f28c2d796 (patch)
treef4e060d924da9ddeee6875f861096059e2f00efe /system/siji-font/doinst.sh
parent7db4aaf098290f9932d4898083c6072eb1b9937a (diff)
downloadslackbuilds-9f101925598c4f8a1fb4e46c1f0a9c5f28c2d796.tar.gz
slackbuilds-9f101925598c4f8a1fb4e46c1f0a9c5f28c2d796.tar.xz
system/siji-font: Added (bitmap font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/siji-font/doinst.sh')
-rw-r--r--system/siji-font/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/siji-font/doinst.sh b/system/siji-font/doinst.sh
new file mode 100644
index 0000000000..440f45861f
--- /dev/null
+++ b/system/siji-font/doinst.sh
@@ -0,0 +1,12 @@
+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