summaryrefslogtreecommitdiff
path: root/system/Iosevka/doinst.sh
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2015-08-17 22:46:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-17 23:15:08 +0700
commit56a207d10c315eb9211ece42864600b9e060278f (patch)
tree9b117d706ac1e3d999339f9418882bb3283da28f /system/Iosevka/doinst.sh
parent2d8cd4c89437c596cbfbf4aaaf99fc54f253a06d (diff)
downloadslackbuilds-56a207d10c315eb9211ece42864600b9e060278f.tar.gz
system/Iosevka: Added (Open source monospace coding font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/Iosevka/doinst.sh')
-rw-r--r--system/Iosevka/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/Iosevka/doinst.sh b/system/Iosevka/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/Iosevka/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