Geo-db-LiteCountry/Geo-db-LiteCountry-autoupdate

5 lines
224 B
Plaintext
Raw Normal View History

#!/bin/bash
[ $1 ] || exit 1
curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -o GeoIP-$1.dat.gz
curl http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz -o GeoIPv6-$1.dat.gz