win_chocolatey: Fix updating 'all' packages (#26417)

This fixes #15018
This commit is contained in:
Dag Wieers 2017-07-05 00:04:30 +02:00 committed by Jordan Borean
parent 50f2313b47
commit 69ade22243

View file

@ -101,6 +101,10 @@ Function Choco-IsInstalled
[string]$package
)
if ($package -eq "all") {
return $true
}
$cmd = "$executable list --local-only --exact $package"
$output = invoke-expression $cmd