summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/x/x11/doinst.sh/font-misc-misc
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/x/x11/doinst.sh/font-misc-misc')
-rw-r--r--slackware64-current/source/x/x11/doinst.sh/font-misc-misc11
1 files changed, 11 insertions, 0 deletions
diff --git a/slackware64-current/source/x/x11/doinst.sh/font-misc-misc b/slackware64-current/source/x/x11/doinst.sh/font-misc-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/slackware64-current/source/x/x11/doinst.sh/font-misc-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