summaryrefslogtreecommitdiffstats
path: root/system/ttf-ibm-plex/doinst.sh
diff options
context:
space:
mode:
author Lazar Isailovic2019-01-12 02:18:54 +0100
committer Willy Sudiarto Raharjo2019-01-12 02:18:54 +0100
commit478311406de890043adf82a6e95e5c23fe14efad (patch)
treef40106c5760416600f66f84e311f17c8b0015013 /system/ttf-ibm-plex/doinst.sh
parenta6bb8cd8613bb2c3769c098e79b466590dcd0ff3 (diff)
downloadslackbuilds-478311406de890043adf82a6e95e5c23fe14efad.tar.gz
system/ttf-ibm-plex: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-ibm-plex/doinst.sh')
-rw-r--r--system/ttf-ibm-plex/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-ibm-plex/doinst.sh b/system/ttf-ibm-plex/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/ttf-ibm-plex/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi