diff options
-rwxr-xr-x | update.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ #!/bin/bash +set -e + rm -f hampshire-latest.osm.pbf -wget http://download.geofabrik.de/europe/great-britain/england/hampshire-latest.osm.pbf && osm2pgsql -s -S osm2pgsql.style -d hampshire hampshire-latest.osm.pbf + +wget http://download.geofabrik.de/europe/great-britain/england/hampshire-latest.osm.pbf + +osm2pgsql -s -S osm2pgsql.style -d hampshire hampshire-latest.osm.pbf |