Correct problem with changed:true

I have just changed a small piece of this module to avoid to return always that the task is changed
reviewable/pr18780/r1
daveres 9 years ago
parent 0749ee5897
commit 5d1e9c6acb

@ -86,7 +86,7 @@ Function Choco-IsInstalled
Throw "Error checking installation status for $package" Throw "Error checking installation status for $package"
} }
If ("$results" -match " $package .* (\d+) packages installed.") If ("$results" -match "$package .* (\d+) packages installed.")
{ {
return $matches[1] -gt 0 return $matches[1] -gt 0
} }

Loading…
Cancel
Save