diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/google-cli/google-cli.SlackBuild | 2 | ||||
-rw-r--r-- | network/nbwmon/nbwmon.SlackBuild | 2 | ||||
-rw-r--r-- | network/polipo/polipo.SlackBuild | 2 | ||||
-rw-r--r-- | network/sqlmap/sqlmap.SlackBuild | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/network/google-cli/google-cli.SlackBuild b/network/google-cli/google-cli.SlackBuild index 9d4fb46e6561..5f76af2808c2 100644 --- a/network/google-cli/google-cli.SlackBuild +++ b/network/google-cli/google-cli.SlackBuild @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCVER.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$SRCVER.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/network/nbwmon/nbwmon.SlackBuild b/network/nbwmon/nbwmon.SlackBuild index 0708ce07ec3f..49808a3ea546 100644 --- a/network/nbwmon/nbwmon.SlackBuild +++ b/network/nbwmon/nbwmon.SlackBuild @@ -48,7 +48,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || [ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/network/polipo/polipo.SlackBuild b/network/polipo/polipo.SlackBuild index 217e9378c82d..9421ff945ce5 100644 --- a/network/polipo/polipo.SlackBuild +++ b/network/polipo/polipo.SlackBuild @@ -64,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION # Fix Makefile diff --git a/network/sqlmap/sqlmap.SlackBuild b/network/sqlmap/sqlmap.SlackBuild index 90281cc73ebd..cbf7d1c4c66a 100644 --- a/network/sqlmap/sqlmap.SlackBuild +++ b/network/sqlmap/sqlmap.SlackBuild @@ -41,7 +41,8 @@ mkdir -p $TMP $PKG $OUTPUT # Install sqlmap in /opt mkdir -p $PKG/opt -tar xvf $CWD/$VERSION.tar.gz -C $PKG/opt +tar xvf $CWD/$VERSION.tar.gz -C $PKG/opt || \ + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PKG/opt chown -R root:root $PKG/opt/$PRGNAM-$VERSION find -L $PKG/opt/$PRGNAM-$VERSION \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |