From 748d1bd7f1f99778f271d00d3765a403124a2ae2 Mon Sep 17 00:00:00 2001 From: Lubos Medovarsky Date: Fri, 25 Nov 2016 09:54:27 +0100 Subject: [PATCH] update ubuntu installer fail on first error avoid multiple invocations of apt-get --- setup_ubuntu.sh | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/setup_ubuntu.sh b/setup_ubuntu.sh index bb1d7cce..7e53acc4 100755 --- a/setup_ubuntu.sh +++ b/setup_ubuntu.sh @@ -1,16 +1,7 @@ -#!/bin/sh -apt-get install libpng-dev -apt-get install libfreetype6 libfreetype6-dev -apt-get install python-dev -apt-get install python-simplejson -apt-get install python-qt4 -apt-get install python-numpy python-scipy python-matplotlib -apt-get install libgeos-dev -apt-get install python-shapely +#!/bin/sh -e + +apt-get install libpng-dev libfreetype6 libfreetype6-dev python-dev python-simplejson python-qt4 python-numpy python-scipy python-matplotlib libgeos-dev python-shapely python-pip libspatialindex-dev easy_install -U distribute -apt-get install python-pip -pip install --upgrade matplotlib -pip install --upgrade Shapely -apt-get install libspatialindex-dev +pip install --upgrade matplotlib Shapely pip install rtree -pip install svg.path \ No newline at end of file +pip install svg.path