[Windows] Force Chocolatey to check packages hashes (#9020)

This commit is contained in:
Erik Bershel
2023-12-15 00:28:36 +01:00
committed by GitHub
parent 1921245719
commit cd286f70f7

View File

@@ -32,7 +32,7 @@ function Install-ChocoPackage {
$count = 1 $count = 1
while ($true) { while ($true) {
Write-Host "Running [#$count]: choco install $packageName -y $argumentList" Write-Host "Running [#$count]: choco install $packageName -y $argumentList"
choco install $packageName -y @argumentList --no-progress choco install $packageName -y @argumentList --no-progress --require-checksums
$pkg = choco list --localonly $packageName --exact --all --limitoutput $pkg = choco list --localonly $packageName --exact --all --limitoutput
if ($pkg) { if ($pkg) {