From f2124f7ebee33452264e661ea865dd2f5aa9a5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 24 May 2015 16:17:43 +0200 Subject: [PATCH] fix file name --- thirdparty/fetch-thirdparty-deps.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index 2f2878d8f7..c57d8dfdf8 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -130,7 +130,7 @@ if (!(Test-Path "Eluant.dll")) (New-Object System.Net.WebClient).DownloadFile("https://github.com/OpenRA/Eluant/releases/download/20140425/Eluant.dll", $target) } -if (!(Test-Path "GeoLite2-Country.mmdb.gz") -Or (((get-date) - (get-item "GeoLite2-Country.mmdb").LastWriteTime) -gt (new-timespan -days 30))) +if (!(Test-Path "GeoLite2-Country.mmdb.gz") -Or (((get-date) - (get-item "GeoLite2-Country.mmdb.gz").LastWriteTime) -gt (new-timespan -days 30))) { echo "Updating GeoIP country database from MaxMind." $target = Join-Path $pwd.ToString() "GeoLite2-Country.mmdb.gz"