From 715164c94a8444d379af501c0bd731fb859f39aa Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 3 Dec 2016 00:40:53 +0000 Subject: graphics/viewnior: Fixed tarball handling. Signed-off-by: David Spencer --- graphics/viewnior/viewnior.SlackBuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild index 9d208418b6..e8284f3626 100644 --- a/graphics/viewnior/viewnior.SlackBuild +++ b/graphics/viewnior/viewnior.SlackBuild @@ -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 \) \ -- cgit v1.2.3