Skip to content

Commit 4cdd769

Browse files
committed
lock chocolatey version for tomcat 8 install
Setting a locked version to ensure the install packages are compatible with the version of chocolatey used during install
1 parent fe91dcb commit 4cdd769

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/installs/chocolatey.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Set-StrictMode -Version Latest
5050
$isWin8 = wmic os get caption | find /i '" 8 "'
5151
$isWin2012 = wmic os get caption | find /i '" 2012 "'
5252

53+
$env:chocolateyVersion = '0.10.13'
5354
# skip wrapping for 8 or 2012?
5455
if ($isWin8 -or $isWin2012){
5556
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

0 commit comments

Comments
 (0)