From dec3bd3961a1e2897392e9658d5631df84380138 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 6 Nov 2011 22:13:07 -0600 Subject: [PATCH] libraries/GConf: Create the gio module cache during postinstall Thanks to disturbed1 on LQ for the tip. Signed-off-by: Robby Workman --- libraries/GConf/GConf.SlackBuild | 4 ++-- libraries/GConf/doinst.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/GConf/GConf.SlackBuild b/libraries/GConf/GConf.SlackBuild index 73c016e243..d16d498c4a 100644 --- a/libraries/GConf/GConf.SlackBuild +++ b/libraries/GConf/GConf.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=GConf VERSION=2.32.4 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -105,7 +105,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/libraries/GConf/doinst.sh b/libraries/GConf/doinst.sh index e4c115f3a8..59fa94b88a 100644 --- a/libraries/GConf/doinst.sh +++ b/libraries/GConf/doinst.sh @@ -14,3 +14,5 @@ config() { config etc/gconf/2/path.new config etc/gconf/2/evoldap.conf.new +chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1>/dev/null 2>/dev/null +