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