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