diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-26 22:54:08 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-28 00:13:04 -0600 |
commit | dee1f5d915e37587e65afd04e5b5c6938110d1db (patch) | |
tree | 7d6ad587a3f7772e3671d7bab625761c34b9addc | |
parent | 198372747e2a0df66c2d60ffc2f25e2e3c70662c (diff) |
network/luakit: Fixed for git tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/luakit/luakit.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network/luakit/luakit.SlackBuild b/network/luakit/luakit.SlackBuild index dbc3864589b0b..b89e77c48e2e1 100644 --- a/network/luakit/luakit.SlackBuild +++ b/network/luakit/luakit.SlackBuild @@ -58,7 +58,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$SRCVER.tar.gz +if [ -e $CWD/$SRCVER.tar.gz ]; then + tar xvf $CWD/$SRCVER.tar.gz +else + tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +fi cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ |