summaryrefslogtreecommitdiffstats
path: root/system/noto-fonts/doinst.sh
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2016-12-04 21:29:09 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-04 21:29:09 +0700
commitb42942cdb60ac666f22412d1e22d71f59fe1a8bc (patch)
treea13ce1de75668d02e1022262f015346cbe4eaf7b /system/noto-fonts/doinst.sh
parentfdd964cc2e5f5b9beba6937bfedf198b1a02e384 (diff)
downloadslackbuilds-b42942cdb60ac666f22412d1e22d71f59fe1a8bc.tar.gz
slackbuilds-b42942cdb60ac666f22412d1e22d71f59fe1a8bc.tar.xz
system/noto-fonts: Added (Googles Noto fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/noto-fonts/doinst.sh')
-rw-r--r--system/noto-fonts/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/noto-fonts/doinst.sh b/system/noto-fonts/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/noto-fonts/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