aboutsummaryrefslogtreecommitdiff
path: root/libs/measurement-kit/patches/002-replace-curl-with-wget.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/measurement-kit/patches/002-replace-curl-with-wget.patch')
-rw-r--r--libs/measurement-kit/patches/002-replace-curl-with-wget.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/libs/measurement-kit/patches/002-replace-curl-with-wget.patch b/libs/measurement-kit/patches/002-replace-curl-with-wget.patch
deleted file mode 100644
index c7d7112dc..000000000
--- a/libs/measurement-kit/patches/002-replace-curl-with-wget.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/script/autogen.d/geoip
-+++ b/script/autogen.d/geoip
-@@ -5,13 +5,13 @@ autogen_get_geoip() {
- echo "* Fetching geoip databases"
- base=https://geolite.maxmind.com/download/geoip/database
- if [ ! -f "country.mmdb" ]; then
-- curl -fsSLO $base/GeoLite2-Country.tar.gz
-+ command -v curl && curl -fsSLO $base/GeoLite2-Country.tar.gz || wget $base/GeoLite2-Country.tar.gz
- tar -xf GeoLite2-Country.tar.gz
- mv GeoLite2-Country_20??????/GeoLite2-Country.mmdb country.mmdb
- rm -rf GeoLite2-Country_20??????
- fi
- if [ ! -f "asn.mmdb" ]; then
-- curl -fsSLO $base/GeoLite2-ASN.tar.gz
-+ command -v curl && curl -fsSLO $base/GeoLite2-ASN.tar.gz || wget $base/GeoLite2-ASN.tar.gz
- tar -xf GeoLite2-ASN.tar.gz
- mv GeoLite2-ASN_20??????/GeoLite2-ASN.mmdb asn.mmdb
- rm -rf GeoLite2-ASN_20??????