aboutsummaryrefslogtreecommitdiff
path: root/system/otf-hermit/doinst.sh
diff options
context:
space:
mode:
authorAlex-P. Natsios <drakevr@2f30.org>2014-05-18 22:33:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-18 22:33:02 +0700
commit95a7ae9d46026aa1f4c5a78e6f17197da437cf5b (patch)
tree12b52686b1b4a5045f26ca7096ab0cb3bef84f2e /system/otf-hermit/doinst.sh
parent6fe501423e44466701f54c3cdee03bfc31c88ef4 (diff)
system/otf-hermit: Added (monospace font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/otf-hermit/doinst.sh')
-rw-r--r--system/otf-hermit/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/otf-hermit/doinst.sh b/system/otf-hermit/doinst.sh
new file mode 100644
index 000000000000..63c309975f93
--- /dev/null
+++ b/system/otf-hermit/doinst.sh
@@ -0,0 +1,12 @@
+# Update mkfontscale and mkfontdir:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+# Update the X font indexes:
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi