aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdockapp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdockapp')
-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