summaryrefslogtreecommitdiffstats
path: root/system/ttf-mononoki/doinst.sh
diff options
context:
space:
mode:
author Andrew Clemons2017-08-04 10:29:27 +0200
committer Willy Sudiarto Raharjo2017-08-05 02:07:33 +0200
commit9a8704896e7cf4977c92fedb5acf4add20a24b46 (patch)
tree98061899d2e9c3394b98d13c4b91fbe84c65861e /system/ttf-mononoki/doinst.sh
parent9a0997a86fafa78cbd744f8a5ee9a1e376442898 (diff)
downloadslackbuilds-9a8704896e7cf4977c92fedb5acf4add20a24b46.tar.gz
system/ttf-mononoki: Added (programming typeface).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-mononoki/doinst.sh')
-rw-r--r--system/ttf-mononoki/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/ttf-mononoki/doinst.sh b/system/ttf-mononoki/doinst.sh
new file mode 100644
index 0000000000..5dfeb031b9
--- /dev/null
+++ b/system/ttf-mononoki/doinst.sh
@@ -0,0 +1,10 @@
+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