aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-zlib
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-13 00:13:41 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commit5e111014672aefc05f8e83158daf7c087277c776 (patch)
tree2f692f0a595720e45857afc413cc8768fff18ed5 /libraries/lua-zlib
parent97b45c54b7d239abe6ddb68dcf8c33651ca77cfb (diff)
libraries/lua-zlib: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/lua-zlib')
-rw-r--r--libraries/lua-zlib/lua-zlib.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/lua-zlib/lua-zlib.SlackBuild b/libraries/lua-zlib/lua-zlib.SlackBuild
index 0344bdce12038..419e2980c2906 100644
--- a/libraries/lua-zlib/lua-zlib.SlackBuild
+++ b/libraries/lua-zlib/lua-zlib.SlackBuild
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$HASH
-tar xvf $CWD/$HASH.tar.gz
+tar xvf $CWD/$HASH.tar.gz || tar xvf $CWD/$PRGNAM-$HASH.tar.gz
cd $PRGNAM-$HASH
chown -R root:root .
find -L . \