From 3309ae9e30b6a9101696b3910ecb568162b10417 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Nov 2013 22:35:56 +0000 Subject: misc/xbanish: Fixed for github tarball. Signed-off-by: Willy Sudiarto Raharjo --- misc/xbanish/xbanish.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild index 24799fab8f50..e40716f7cb0e 100644 --- a/misc/xbanish/xbanish.SlackBuild +++ b/misc/xbanish/xbanish.SlackBuild @@ -29,7 +29,6 @@ PRGNAM=xbanish VERSION=${VERSION:-1.1} -DISTNAME=v$VERSION BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,7 +65,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$DISTNAME.tar.gz +if [ -e $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 -L . \ -- cgit v1.2.3