make the win_chocolatey force arg actually work

fixes #1561
pull/18777/head
nitzmahone 8 years ago committed by Matt Clay
parent a2f9e0d2fe
commit 2c87fe3b58

@ -214,9 +214,14 @@ Function Choco-Install
Choco-Upgrade -package $package -version $version -source $source -force $force `
-installargs $installargs -packageparams $packageparams `
-ignoredependencies $ignoredependencies
return
}
return
if (-not $force)
{
return
}
}
$cmd = "$executable install -dv -y $package"

Loading…
Cancel
Save