summaryrefslogtreecommitdiff
path: root/system/dconf/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-11-06 22:10:00 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-06 22:10:00 -0600
commitd10103611402fe742ed2ac84adb6c8499488e958 (patch)
tree701805edf933127a56400bb820b0a5bc90c31963 /system/dconf/doinst.sh
parent9e3d4761a1a3b7fafb705b519cdd90fc7e45ade1 (diff)
downloadslackbuilds-d10103611402fe742ed2ac84adb6c8499488e958.tar.gz
system/dconf: Create the gio module cache during postinstall
Thanks to disturbed1 on LQ for the tip. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/dconf/doinst.sh')
-rw-r--r--system/dconf/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/dconf/doinst.sh b/system/dconf/doinst.sh
index 6b275a50c2..62e237fc36 100644
--- a/system/dconf/doinst.sh
+++ b/system/dconf/doinst.sh
@@ -3,3 +3,7 @@ if [ -x etc/rc.d/rc.messagebus ]; then
chroot . /etc/rc.d/rc.messagebus reload
fi
+# Try to run these. If they fail, no biggie.
+chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
+chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1> /dev/null 2> /dev/null
+