summaryrefslogtreecommitdiff
path: root/network/mod_wsgi
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-20 01:22:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commit0789d5bf1bb2d45db6b483c09d5153177d8bf2a3 (patch)
treeeb11f8417111a9489e4b25927dfc95011e638a7f /network/mod_wsgi
parente3ece7f12affddcdb55e94ba6b6c2580d9fae165 (diff)
downloadslackbuilds-0789d5bf1bb2d45db6b483c09d5153177d8bf2a3.tar.gz
network/mod_wsgi: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/mod_wsgi')
-rw-r--r--network/mod_wsgi/mod_wsgi.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/network/mod_wsgi/mod_wsgi.SlackBuild b/network/mod_wsgi/mod_wsgi.SlackBuild
index cabcb80395..3bc36b4cfa 100644
--- a/network/mod_wsgi/mod_wsgi.SlackBuild
+++ b/network/mod_wsgi/mod_wsgi.SlackBuild
@@ -56,8 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-# Note: 4.x versions only have $VERSION in archive name
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \