summaryrefslogtreecommitdiff
path: root/system/courier-screenplay/doinst.sh
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2018-03-10 14:03:23 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:45 +0700
commited58965e8cc4ec3146ca275ae0775280fc161b11 (patch)
treea41a3240899a469b699aebc49049410f16739808 /system/courier-screenplay/doinst.sh
parent96c449f46d4e9cc6efa40c8923bf1e647d110d73 (diff)
downloadslackbuilds-ed58965e8cc4ec3146ca275ae0775280fc161b11.tar.gz
system/courier-screenplay: Added (a courier font).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/courier-screenplay/doinst.sh')
-rw-r--r--system/courier-screenplay/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/courier-screenplay/doinst.sh b/system/courier-screenplay/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/courier-screenplay/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