commit
fa587da2b5
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Use .env file, if it exists.
|
||||
if test -f .env; then
|
||||
export $(egrep -v '^#' .env | xargs)
|
||||
fi
|
||||
|
||||
mkdir -p data
|
||||
cd data
|
||||
curl https://download.maxmind.com/app/geoip_download\?edition_id\=GeoLite2-City\&license_key\=$MAXMIND_KEY\&suffix\=tar.gz -o GeoLite2-City.mmdb.tar.gz
|
||||
|
|
Loading…
Reference in New Issue