aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 07:39:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 07:39:05 +0700
commitd8fcf63314bf5f9f4013e838e5a0d9f160ac90de (patch)
tree401af33472cd03628f35eff07c2486698e5fc223 /libraries
parent9c8a397b2a85f87cb3b7975524974f7ed8162585 (diff)
libraries/libdockapp: Add missing doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libdockapp/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/libdockapp/doinst.sh b/libraries/libdockapp/doinst.sh
new file mode 100644
index 0000000000000..d1a214bac248a
--- /dev/null
+++ b/libraries/libdockapp/doinst.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ mkfontscale usr/share/fonts/misc 2> /dev/null
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large usr/share/fonts/misc 2> /dev/null
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f 2> /dev/null
+fi