aboutsummaryrefslogtreecommitdiff
path: root/system/termsyn-font/doinst.sh
diff options
context:
space:
mode:
authorManuel Argüelles <manuel.arguelles@gmail.com>2019-06-15 07:34:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-15 07:34:16 +0700
commit6b6c5ff56638aa251e6b0ce8a4e25f82ce9ea5f4 (patch)
treee08993f0971d25f870ccdf62fb7a6c19a508ec55 /system/termsyn-font/doinst.sh
parentb78040fcf6930c9a96325e02044fc300a55f84be (diff)
system/termsyn-font: Added (bitmap font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/termsyn-font/doinst.sh')
-rw-r--r--system/termsyn-font/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/termsyn-font/doinst.sh b/system/termsyn-font/doinst.sh
new file mode 100644
index 0000000000000..440f45861f4c2
--- /dev/null
+++ b/system/termsyn-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