From dbfbe637e4b31604afc62833917586bbfe33bc42 Mon Sep 17 00:00:00 2001 From: Leonard Schmidt Date: Thu, 21 Aug 2014 19:31:15 +0700 Subject: graphics/sxiv: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- graphics/sxiv/sxiv.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics/sxiv') diff --git a/graphics/sxiv/sxiv.SlackBuild b/graphics/sxiv/sxiv.SlackBuild index de5e15ef51..8519d06379 100644 --- a/graphics/sxiv/sxiv.SlackBuild +++ b/graphics/sxiv/sxiv.SlackBuild @@ -60,14 +60,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $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 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make install \ PREFIX=/usr \ -- cgit v1.2.3