Fixed checksum for cygwin

This commit is contained in:
Alexey Pustovalov 2022-08-17 16:53:15 +03:00
parent 33388a5d56
commit 62b0b06522

View File

@ -200,7 +200,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
(New-Object Net.WebClient).DownloadFile("""$env:CYGWIN_URL""", """$env:SystemDrive\setup.exe"""); `
`
$sha256 = '18b445dc16259bb772aaf0d32d64f9ed3166045fdc07eb9154651840d8a27752'; `
$sha256 = '2d65b46e884d9556bd4d17b5ce174b93ef307326395796895892e897adaf72ad'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum Cygwin failed!'; `