summaryrefslogtreecommitdiff
path: root/system/ttf-inconsolata/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-26 06:08:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 06:08:41 +0700
commit10e2cb2ea944fae2be441d1cafd3a8a3d7a3b873 (patch)
tree7d0cb66a9bf2c87e0b5ba9f1a3b553cebcefee77 /system/ttf-inconsolata/doinst.sh
parentead16d14670c52958024b27959d2e5ceb886fc8f (diff)
downloadslackbuilds-10e2cb2ea944fae2be441d1cafd3a8a3d7a3b873.tar.gz
system/ttf-inconsolata: Added (Monospace Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-inconsolata/doinst.sh')
-rw-r--r--system/ttf-inconsolata/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-inconsolata/doinst.sh b/system/ttf-inconsolata/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/ttf-inconsolata/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