summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-13 00:14:30 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commit42e9433f4f9d5d09fecc7c35ad9aaaf8a1d6e5e2 (patch)
treed0c3234b89f0dd4c4dfc8f54e7fd84f87b06c2ab
parent5e111014672aefc05f8e83158daf7c087277c776 (diff)
downloadslackbuilds-42e9433f4f9d5d09fecc7c35ad9aaaf8a1d6e5e2.tar.gz
libraries/luasec: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/luasec/luasec.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/luasec/luasec.SlackBuild b/libraries/luasec/luasec.SlackBuild
index 05f705b97a..3060e286a6 100644
--- a/libraries/luasec/luasec.SlackBuild
+++ b/libraries/luasec/luasec.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 . \