graphics/viewnior: Fixed tarball handling.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-12-03 00:40:53 +00:00
parent 6afa667105
commit 715164c94a

View file

@ -60,10 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
mv Viewnior-$PRGNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
rm -rf Viewnior-$PRGNAM-$VERSION
tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xzvf $CWD/Viewnior-$PRGNAM-$VERSION.tar.gz
cd Viewnior-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \