summaryrefslogtreecommitdiffstats
path: root/system/ttf-zekton/doinst.sh
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2016-09-01 19:35:49 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:17:19 +0700
commit5a6fd1eb2cffc1666d6d1f6893dd441ee5a8c95d (patch)
treeea948f2aa2f8438f8bd4905bd4bb8a358adea7f4 /system/ttf-zekton/doinst.sh
parent0448e31e4ab37d80deeaad72e1aeb14227c4e93c (diff)
downloadslackbuilds-5a6fd1eb2cffc1666d6d1f6893dd441ee5a8c95d.tar.gz
slackbuilds-5a6fd1eb2cffc1666d6d1f6893dd441ee5a8c95d.tar.xz
system/ttf-zekton: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-zekton/doinst.sh')
-rw-r--r--system/ttf-zekton/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-zekton/doinst.sh b/system/ttf-zekton/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/ttf-zekton/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