geoip: fix mmdb download
parent
0c8125c10c
commit
b9b9cecf34
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
get -O ./GeoLite2-City.tar.gz "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${LICENSE_KEY}&suffix=tar.gz"
|
wget -O ./GeoLite2-City.tar.gz "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${LICENSE_KEY}&suffix=tar.gz"
|
||||||
tar zxvf ./GeoLite2-City.tar.gz -C .
|
tar zxvf ./GeoLite2-City.tar.gz -C .
|
||||||
mv ./GeoLite2-City_*/GeoLite2-City.mmdb ./GeoLite2-City.mmdb
|
mv ./GeoLite2-City_*/GeoLite2-City.mmdb ./GeoLite2-City.mmdb
|
||||||
rm -r ./GeoLite2-City_* ./GeoLite2-City.tar.gz
|
rm -r ./GeoLite2-City_* ./GeoLite2-City.tar.gz
|
||||||
|
Loading…
Reference in New Issue