From 9da611d3d482c10f75cc08f3822aad30db00b3c1 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 2 Sep 2014 23:23:09 -0700 Subject: gis/rasterio: Updated for version 0.12.1. Signed-off-by: Benjamin Trigona-Harany --- gis/rasterio/rasterio.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gis/rasterio/rasterio.SlackBuild') diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild index 25b2be759e77e..65a54565fae20 100644 --- a/gis/rasterio/rasterio.SlackBuild +++ b/gis/rasterio/rasterio.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rasterio -VERSION=${VERSION:-0.6} +VERSION=${VERSION:-0.12.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,11 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/$VERSION.tar.gz ]; then - tar xvf $CWD/$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