aboutsummaryrefslogtreecommitdiff
path: root/system/webcore-fonts/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <dugan [underscore] c [at] fastmail [dot] fm>2010-05-11 22:55:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:55:37 +0200
commitea84d1a5488cc81d48524e9f122c2f48172d1f0f (patch)
treed0dd3171ce1a98bea95687552b947b81dd230c94 /system/webcore-fonts/doinst.sh
parent1f750cab57ee9154b25f76a5136f173fffd1ef77 (diff)
system/webcore-fonts: Added to 12.1 repository
Diffstat (limited to 'system/webcore-fonts/doinst.sh')
-rw-r--r--system/webcore-fonts/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/webcore-fonts/doinst.sh b/system/webcore-fonts/doinst.sh
new file mode 100644
index 000000000000..bdb050188d6b
--- /dev/null
+++ b/system/webcore-fonts/doinst.sh
@@ -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