diff options
Diffstat (limited to 'python/affine/affine.SlackBuild')
-rw-r--r-- | python/affine/affine.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
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 . \ |