summaryrefslogtreecommitdiffstats
path: root/source/x/ttf-indic-fonts/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/ttf-indic-fonts/doinst.sh')
-rw-r--r--source/x/ttf-indic-fonts/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/x/ttf-indic-fonts/doinst.sh b/source/x/ttf-indic-fonts/doinst.sh
new file mode 100644
index 000000000..f6ebdc7c3
--- /dev/null
+++ b/source/x/ttf-indic-fonts/doinst.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Update mkfontscale and mkfontdir:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+# Update the X font indexes:
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+# make links: