aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-dark-courier/doinst.sh
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2017-02-07 22:33:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-10 07:16:20 +0700
commit68242ac078b3f146e9b1080b7f76b136d9f203bd (patch)
tree67bb65a433e366ceee9baa780e0354adfa81159b /system/ttf-dark-courier/doinst.sh
parentebce2486fed5043c03c44e26e8d407259fe86c6f (diff)
system/ttf-dark-courier: Added (HP font based on courier-new).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-dark-courier/doinst.sh')
-rw-r--r--system/ttf-dark-courier/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-dark-courier/doinst.sh b/system/ttf-dark-courier/doinst.sh
new file mode 100644
index 000000000000..8fec9f534006
--- /dev/null
+++ b/system/ttf-dark-courier/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