summaryrefslogtreecommitdiffstats
path: root/system/ttf-monaco/doinst.sh
diff options
context:
space:
mode:
author Ricardo J. Barberis <ricardo.barberis@gmail.com>2015-09-01 09:32:19 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-01 09:32:19 +0700
commitf0d405a3f4088ed92b1327cdc3923a8551b8a343 (patch)
tree11088a9e03c3530ff3e1d02550958c115937a720 /system/ttf-monaco/doinst.sh
parent1841fe2ffb6ad1fd900155d2c501db5c79279dd9 (diff)
downloadslackbuilds-f0d405a3f4088ed92b1327cdc3923a8551b8a343.tar.gz
slackbuilds-f0d405a3f4088ed92b1327cdc3923a8551b8a343.tar.xz
system/ttf-monaco: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-monaco/doinst.sh')
-rw-r--r--system/ttf-monaco/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-monaco/doinst.sh b/system/ttf-monaco/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/ttf-monaco/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