summaryrefslogtreecommitdiffstats
path: root/system/ttf-caladea/doinst.sh
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2016-11-27 22:10:10 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-28 05:44:22 +0700
commitd83eb80887e28f5a5e2928a06793f05073a0e6a3 (patch)
treee077b49a3412b194b4a27a54fab3a52b5a2eaf07 /system/ttf-caladea/doinst.sh
parentd599666df03d5664eba72d9eaa35df3db944314e (diff)
downloadslackbuilds-d83eb80887e28f5a5e2928a06793f05073a0e6a3.tar.gz
slackbuilds-d83eb80887e28f5a5e2928a06793f05073a0e6a3.tar.xz
system/ttf-caladea: Added (Googles Caladea font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-caladea/doinst.sh')
-rw-r--r--system/ttf-caladea/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-caladea/doinst.sh b/system/ttf-caladea/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/ttf-caladea/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