aboutsummaryrefslogtreecommitdiff
path: root/system/otf-hermit/doinst.sh
diff options
context:
space:
mode:
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 0000000000000..63c309975f93c
--- /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