switched to a sourceforge mirror that is responding. #712.

This commit is contained in:
davemfish 2021-11-03 10:28:47 -04:00
parent 13fad02ef0
commit 242edc443b
1 changed files with 2 additions and 1 deletions

View File

@ -15,10 +15,11 @@ choco install make vcredist140 pandoc zip 7zip unzip
$env:PATH += ";C:\ProgramData\chocolatey\bin"
# Install Zip. This has been failing recently, so better to just install directly.
# See https://sourceforge.net/p/forge/documentation/Mirrors/ for mirror options
# See http://gnuwin32.sourceforge.net/setup.html for full list of installer CLI flags.
# The installer doesn't add the target directory to the PATH, so we need to do that too.
Write-Host "Installing GNU Zip"
Invoke-WebRequest https://managedway.dl.sourceforge.net/project/gnuwin32/zip/3.0/zip-3.0-setup.exe -OutFile zip-setup.exe
Invoke-WebRequest https://pilotfiber.dl.sourceforge.net/project/gnuwin32/zip/3.0/zip-3.0-setup.exe -OutFile zip-setup.exe
& ./zip-setup.exe /VERYSILENT /SP /SUPPRESSMSGBOXES
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files (x86)\GnuWin32\bin", "Machine")