aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-doulos-sil/doinst.sh
diff options
context:
space:
mode:
authorpomfland <pomfland@tfwno.gf>2018-09-23 20:29:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-29 07:47:34 +0700
commit8891e5fa92471dfd69de83dbfc803857e424405c (patch)
tree6026129fd961c6c5b3f817b20a11cb6199771bdc /system/ttf-doulos-sil/doinst.sh
parent58768df17f342cb33376b87a5ffcc56614762cd4 (diff)
system/ttf-doulos-sil: Added (a free license Unicode font).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-doulos-sil/doinst.sh')
-rw-r--r--system/ttf-doulos-sil/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-doulos-sil/doinst.sh b/system/ttf-doulos-sil/doinst.sh
new file mode 100644
index 0000000000000..8fec9f5340068
--- /dev/null
+++ b/system/ttf-doulos-sil/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