diff options
Diffstat (limited to 'libraries/luaevent/luaevent.SlackBuild')
-rw-r--r-- | libraries/luaevent/luaevent.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/luaevent/luaevent.SlackBuild b/libraries/luaevent/luaevent.SlackBuild index 571cb0444f..870ae902a8 100644 --- a/libraries/luaevent/luaevent.SlackBuild +++ b/libraries/luaevent/luaevent.SlackBuild @@ -61,7 +61,11 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz +if [ -f $CWD/v$VERSION.tar.gz ]; then + tar xvf $CWD/v$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find . \ |