From f6017325856281278d9652b6c0c0168281d27f7f Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Mon, 20 Aug 2018 20:51:56 +0200 Subject: [PATCH] Use https when downloading databases --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8db1c7a..60a2441 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ databases := GeoLite2-City GeoLite2-Country $(databases): mkdir -p data - curl -fsSL -m 30 http://geolite.maxmind.com/download/geoip/database/$@.tar.gz | tar $(TAR_OPTS) --strip-components=1 -C $(PWD)/data -xzf - '*.mmdb' + curl -fsSL -m 30 https://geolite.maxmind.com/download/geoip/database/$@.tar.gz | tar $(TAR_OPTS) --strip-components=1 -C $(PWD)/data -xzf - '*.mmdb' test ! -f data/GeoLite2-City.mmdb || mv data/GeoLite2-City.mmdb data/city.mmdb test ! -f data/GeoLite2-Country.mmdb || mv data/GeoLite2-Country.mmdb data/country.mmdb