eom: Fix segfault.

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

View file

@ -25,7 +25,7 @@
PRGNAM=eom
VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then
@ -111,13 +111,16 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING HACKING NEWS* README THANKS TODO \
cp -a AUTHORS COPYING HACKING NEWS* README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
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
grep -v xml:lang $PKG/usr/share/glib-2.0/schemas/org.mate.eom.gschema.xml > /tmp/org.mate.eom.gschema.xml
mv /tmp/org.mate.eom.gschema.xml $PKG/usr/share/glib-2.0/schemas/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh