diff options
-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 . \ |