From 34afb764dace11b9669551bdbd611be288c39f19 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sun, 24 Jan 2016 13:01:16 -0800 Subject: python/affine: Updated for version 1.2.0. Signed-off-by: Benjamin Trigona-Harany --- python/affine/affine.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'python/affine/affine.SlackBuild') diff --git a/python/affine/affine.SlackBuild b/python/affine/affine.SlackBuild index d8c7cb41e5..ab541a8497 100644 --- a/python/affine/affine.SlackBuild +++ b/python/affine/affine.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=affine -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,11 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ -- cgit v1.2.3