w: ignore VersionNotFoundError

This commit is contained in:
undefined committed 2021-04-03 12:26:28 +08:00
1 parent b9e08c7e93
commit 86a6f6ba0b
3 files changed
+8 -3

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
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 .
mv ./GeoLite2-City_*/GeoLite2-City.mmdb ./GeoLite2-City.mmdb
rm -r ./GeoLite2-City_* ./GeoLite2-City.tar.gz