aboutsummaryrefslogtreecommitdiff
path: root/system/ecofont-ttf/doinst.sh
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-12 23:33:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:33:28 +0200
commitb999acbfd5b113b085252abfab281f89969a91b8 (patch)
tree2edb6635c818d6c2aeef8b0afaa847ca1ad6dadd /system/ecofont-ttf/doinst.sh
parent8b5073dcd04ce71ba30918d7ef8640b495aec360 (diff)
system/ecofont-ttf: Added to 12.2 repository
Diffstat (limited to 'system/ecofont-ttf/doinst.sh')
-rw-r--r--system/ecofont-ttf/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ecofont-ttf/doinst.sh b/system/ecofont-ttf/doinst.sh
new file mode 100644
index 0000000000000..3884b2a547c35
--- /dev/null
+++ b/system/ecofont-ttf/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+