summaryrefslogtreecommitdiff
path: root/system/overpass-webfonts/doinst.sh
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2017-06-19 16:36:32 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-19 16:36:32 +0100
commiteb7ed6d88f846097f6fe30a788e5a3a6c33fbf27 (patch)
treeda54c33d43998ac087bd9a0031f325d88486ac1f /system/overpass-webfonts/doinst.sh
parentdd8a57c307b86feb515c2faaf584ce3c3cfe91d3 (diff)
downloadslackbuilds-eb7ed6d88f846097f6fe30a788e5a3a6c33fbf27.tar.gz
system/overpass-webfonts: Added (Open Source web fonts by RedHat).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/overpass-webfonts/doinst.sh')
-rw-r--r--system/overpass-webfonts/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/overpass-webfonts/doinst.sh b/system/overpass-webfonts/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/overpass-webfonts/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