copy it in the make dependencies step
This commit is contained in:
1
thirdparty/fetch-geoip-db.sh
vendored
1
thirdparty/fetch-geoip-db.sh
vendored
@@ -14,6 +14,5 @@ if [[ ! -e $filename ]] || [[ -n $(find . -name $filename -mtime +30 -print) ]];
|
||||
rm -f $filename
|
||||
echo "Updating GeoIP country database from MaxMind."
|
||||
curl -s -L -O http://geolite.maxmind.com/download/geoip/database/$filename
|
||||
cp $filename ../..
|
||||
fi
|
||||
|
||||
|
||||
1
thirdparty/fetch-thirdparty-deps.ps1
vendored
1
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -135,7 +135,6 @@ if (!(Test-Path "GeoLite2-Country.mmdb.gz") -Or (((get-date) - (get-item "GeoLit
|
||||
echo "Updating GeoIP country database from MaxMind."
|
||||
$target = Join-Path $pwd.ToString() "GeoLite2-Country.mmdb.gz"
|
||||
(New-Object System.Net.WebClient).DownloadFile("http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz", $target)
|
||||
cp GeoLite2-Country.mmdb.gz ..\..
|
||||
}
|
||||
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user