aboutsummaryrefslogtreecommitdiff
path: root/network/sqlmap/sqlmap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sqlmap/sqlmap.SlackBuild')
-rw-r--r--network/sqlmap/sqlmap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/sqlmap/sqlmap.SlackBuild b/network/sqlmap/sqlmap.SlackBuild
index 90281cc73ebd3..cbf7d1c4c66a0 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 \) \