diff options
Diffstat (limited to 'system/makeself')
-rw-r--r-- | system/makeself/makeself.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/makeself/makeself.SlackBuild b/system/makeself/makeself.SlackBuild index 7699629e25cbd..c053ab7511598 100644 --- a/system/makeself/makeself.SlackBuild +++ b/system/makeself/makeself.SlackBuild @@ -40,7 +40,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-release-$VERSION -tar zxvf $CWD/release-${VERSION}.tar.gz +if [ -e $CWD/release-${VERSION}.tar.gz ]; then + tar xvf $CWD/release-${VERSION}.tar.gz +else + tar xvf $CWD/$PRGNAM-release-${VERSION}.tar.gz +fi cd $PRGNAM-release-$VERSION chown -R root:root . find -L . \ |