summaryrefslogtreecommitdiffstats
path: root/system/fantasque-sans-mono/doinst.sh
diff options
context:
space:
mode:
author klorophatu <klorophatu@krutt.org>2020-01-02 21:16:46 -0600
committer Robby Workman <rworkman@slackbuilds.org>2020-01-02 23:33:51 -0600
commit47056bddc4fd2745c3ed4428acfdaacb554a390d (patch)
tree4968e2c18a910e90cd1493f721aaa78da6dde7da /system/fantasque-sans-mono/doinst.sh
parentdabc3af7bff14df3c54aabbf24171beffa31907f (diff)
downloadslackbuilds-47056bddc4fd2745c3ed4428acfdaacb554a390d.tar.gz
slackbuilds-47056bddc4fd2745c3ed4428acfdaacb554a390d.tar.xz
system/fantasque-sans-mono: Added (monospaced programming font)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/fantasque-sans-mono/doinst.sh')
-rw-r--r--system/fantasque-sans-mono/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/fantasque-sans-mono/doinst.sh b/system/fantasque-sans-mono/doinst.sh
new file mode 100644
index 0000000000..ff1dece33d
--- /dev/null
+++ b/system/fantasque-sans-mono/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi