From 57e8f4946243ceddb339521e08e208464cfc6726 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 19 Jan 2016 23:38:21 +0000 Subject: Multiple: Support alternate tarball name. Signed-off-by: David Spencer --- network/sqlmap/sqlmap.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'network/sqlmap/sqlmap.SlackBuild') 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 \) \ -- cgit v1.2.3