From c1a7371b03f5559aacfd20fe4cd5f8f8749baccc Mon Sep 17 00:00:00 2001 From: peter-evans Date: Fri, 31 Aug 2018 09:29:40 +0900 Subject: [PATCH] Allow curl to follow redirects --- 2.3/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.3/docker-entrypoint.sh b/2.3/docker-entrypoint.sh index 98920d3..7e40410 100644 --- a/2.3/docker-entrypoint.sh +++ b/2.3/docker-entrypoint.sh @@ -19,7 +19,7 @@ NOMINATIM_GS_BUCKET=${NOMINATIM_GS_BUCKET:=""} if [ "$NOMINATIM_MODE" == "CREATE" ]; then # Retrieve the PBF file - curl $NOMINATIM_PBF_URL --create-dirs -o $NOMINATIM_DATA_PATH/$NOMINATIM_DATA_LABEL.osm.pbf + curl -L $NOMINATIM_PBF_URL --create-dirs -o $NOMINATIM_DATA_PATH/$NOMINATIM_DATA_LABEL.osm.pbf # Allow user accounts read access to the data chmod 755 $NOMINATIM_DATA_PATH