From 3c0e7946d5aa613159d753573e62accbf31c1c7f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Nov 2013 22:25:50 +0000 Subject: system/makeself: Fixed for github tarball. Signed-off-by: Willy Sudiarto Raharjo --- system/makeself/makeself.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 . \ -- cgit v1.2.3