aboutsummaryrefslogtreecommitdiff
path: root/desktop/cmatrix/doinst.sh
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-11 22:53:17 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:53:17 +0200
commit8e158fb05a6dc5a86c4b98978c10dce9ce9622f6 (patch)
tree8031b449ffc017d8de263fd82b900b59f15fd7ed /desktop/cmatrix/doinst.sh
parentb1b90d5b5c8b08f40963f94c823c542d9aa4edcd (diff)
desktop/cmatrix: Added to 12.1 repository
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 0000000000000..c9973502ab893
--- /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