Merge pull request #1350 from daveres/patch-1

Correct problem with changed:true
This commit is contained in:
Matt Davis 2015-12-11 09:10:40 -08:00
commit 76ae7d8826

View file

@ -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
} }