aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-carlito/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-27 22:09:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-28 05:44:21 +0700
commitd599666df03d5664eba72d9eaa35df3db944314e (patch)
treec1c7241f8fa40f30ea3824269dc9641b3b27e225 /system/ttf-carlito/doinst.sh
parente8fffef6db3642e73a5e9e9049aa1a41af691c4c (diff)
system/ttf-carlito: Added (Googles Carlito font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-carlito/doinst.sh')
-rw-r--r--system/ttf-carlito/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-carlito/doinst.sh b/system/ttf-carlito/doinst.sh
new file mode 100644
index 000000000000..8fec9f534006
--- /dev/null
+++ b/system/ttf-carlito/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