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>
This commit is contained in:
Robby Workman 2011-11-06 22:10:00 -06:00
parent 9e3d4761a1
commit d101036114
2 changed files with 5 additions and 1 deletions

View file

@ -99,7 +99,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc 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 cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -3,3 +3,7 @@ if [ -x etc/rc.d/rc.messagebus ]; then
chroot . /etc/rc.d/rc.messagebus reload chroot . /etc/rc.d/rc.messagebus reload
fi 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