mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/GConf: 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:
parent
d101036114
commit
dec3bd3961
2 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue