summaryrefslogtreecommitdiffstats
path: root/system/ttf-xo-fonts/doinst.sh
diff options
context:
space:
mode:
author Alexander Verbovetsky <alik@ejik.org>2020-02-08 09:15:15 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 13:39:33 +0700
commit682eaa12d7bc1f1cd4156ec38b456c1e32f9e586 (patch)
tree611c4da0f7c8ef8b9ba9dd2ee26f4f8aef7891b5 /system/ttf-xo-fonts/doinst.sh
parent1f41684be9f1e00f7153721be1896c5c616feaf7 (diff)
downloadslackbuilds-682eaa12d7bc1f1cd4156ec38b456c1e32f9e586.tar.gz
slackbuilds-682eaa12d7bc1f1cd4156ec38b456c1e32f9e586.tar.xz
system/ttf-xo-fonts: Added (free XO Fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-xo-fonts/doinst.sh')
-rw-r--r--system/ttf-xo-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/ttf-xo-fonts/doinst.sh b/system/ttf-xo-fonts/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/ttf-xo-fonts/doinst.sh
@@ -0,0 +1,10 @@
+# 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