mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2025-01-29 08:34:31 +01:00
mate-utils: Fix segfault.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
bc3211240b
commit
5d42cdd2db
1 changed files with 8 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
PRGNAM=mate-utils
|
PRGNAM=mate-utils
|
||||||
VERSION=${VERSION:-1.9.1}
|
VERSION=${VERSION:-1.9.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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 {} \;
|
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
|
||||||
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
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
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue