summaryrefslogtreecommitdiffstats
path: root/system/overpass-desktop-fonts/doinst.sh
diff options
context:
space:
mode:
author Nishant Limbachia2017-06-18 03:36:02 +0200
committer Willy Sudiarto Raharjo2017-06-24 03:32:14 +0200
commit134a84f56b401ef23da80778982381cb442d6e67 (patch)
tree00cd5443c540e3b7fbf985d2378ae6c44b36e6f2 /system/overpass-desktop-fonts/doinst.sh
parentbcc704ca2c1356b5b3dc8f9d2ea39b8f717e355e (diff)
downloadslackbuilds-134a84f56b401ef23da80778982381cb442d6e67.tar.gz
system/overpass-desktop-fonts: Updated for version 3.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/overpass-desktop-fonts/doinst.sh')
-rw-r--r--system/overpass-desktop-fonts/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/overpass-desktop-fonts/doinst.sh b/system/overpass-desktop-fonts/doinst.sh
new file mode 100644
index 0000000000..f0c0523187
--- /dev/null
+++ b/system/overpass-desktop-fonts/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi