diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 23:38:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | 57e8f4946243ceddb339521e08e208464cfc6726 (patch) | |
tree | 8f374145f4f2f91d14a998cfeafbabba41d097ba /network/sqlmap | |
parent | 8d48b4421183a399a80032e97072d0a32dc92f8e (diff) |
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/sqlmap')
-rw-r--r-- | network/sqlmap/sqlmap.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
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 \) \ |