mate-utils: Fix segfault.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-03-04 06:34:35 +07:00
parent bc3211240b
commit 5d42cdd2db

View file

@ -25,7 +25,7 @@
PRGNAM=mate-utils
VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then
@ -121,6 +121,13 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
# Ugly Fix
for F in org.mate.dictionary.gschema.xml org.mate.disk-usage-analyzer.gschema.xml org.mate.screenshot.gschema.xml
do
grep -v xml:lang $PKG/usr/share/glib-2.0/schemas/$F > /tmp/$F
mv /tmp/$F $PKG/usr/share/glib-2.0/schemas/
done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh