summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/dconf/dconf.SlackBuild2
-rw-r--r--system/dconf/doinst.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/system/dconf/dconf.SlackBuild b/system/dconf/dconf.SlackBuild
index 7bb27ad1c7..b54dcaa008 100644
--- a/system/dconf/dconf.SlackBuild
+++ b/system/dconf/dconf.SlackBuild
@@ -99,7 +99,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s,@LIBDIR@,/usr/lib${LIBDIRSUFFIX}," $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
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
+