summaryrefslogtreecommitdiff
path: root/system/courier-prime/doinst.sh
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2015-03-14 05:59:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-14 05:59:09 +0700
commita8a0566fc7d98654c87ca08b67accea7a7540c71 (patch)
tree41913c51f7b5eebae041131736b9d501e7645e4b /system/courier-prime/doinst.sh
parent7dca3216032acafcea60d1025454ccdcd3d0b741 (diff)
downloadslackbuilds-a8a0566fc7d98654c87ca08b67accea7a7540c71.tar.gz
system/courier-prime: Added (Free Courier and Courier-like font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/courier-prime/doinst.sh')
-rw-r--r--system/courier-prime/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/courier-prime/doinst.sh b/system/courier-prime/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/courier-prime/doinst.sh
@@ -0,0 +1,10 @@
+# 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