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