summaryrefslogtreecommitdiffstats
path: root/source.local/x/x11/doinst.sh/font-bh-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'source.local/x/x11/doinst.sh/font-bh-ttf')
-rw-r--r--source.local/x/x11/doinst.sh/font-bh-ttf11
1 files changed, 11 insertions, 0 deletions
diff --git a/source.local/x/x11/doinst.sh/font-bh-ttf b/source.local/x/x11/doinst.sh/font-bh-ttf
new file mode 100644
index 0000000..bdb0501
--- /dev/null
+++ b/source.local/x/x11/doinst.sh/font-bh-ttf
@@ -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/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi