summaryrefslogtreecommitdiff
path: root/system/GentiumPlus/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2014-05-19 16:25:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-19 16:25:18 +0700
commit5b83e85ec3e27552dcef5b77fe4e7f6f4eee01cc (patch)
tree018ce3bb26d2fcf59a6ccc15d77dbf0080fcd648 /system/GentiumPlus/doinst.sh
parentbfc3202d02f5c6a077ea049996fa8d4cfdbd18ef (diff)
downloadslackbuilds-5b83e85ec3e27552dcef5b77fe4e7f6f4eee01cc.tar.gz
system/GentiumPlus: Added (typeface font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/GentiumPlus/doinst.sh')
-rw-r--r--system/GentiumPlus/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/GentiumPlus/doinst.sh b/system/GentiumPlus/doinst.sh
new file mode 100644
index 0000000000..8a9958fde1
--- /dev/null
+++ b/system/GentiumPlus/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi