parent
50f2313b47
commit
69ade22243
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue