summaryrefslogtreecommitdiffstats
path: root/source/x/x11/doinst.sh/font-mutt-misc
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/doinst.sh/font-mutt-misc')
-rw-r--r--source/x/x11/doinst.sh/font-mutt-misc11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/x/x11/doinst.sh/font-mutt-misc b/source/x/x11/doinst.sh/font-mutt-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-mutt-misc
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi