From 11e466c0b1a72d97893022c3f1d4b5db0cd98194 Mon Sep 17 00:00:00 2001 From: Jeffrey Martin Date: Wed, 4 Apr 2018 15:53:41 -0500 Subject: [PATCH] Install chocolatey 0.10.8 As 0.10.9 is broken - see chocolatey/choco#1529 --- scripts/installs/install_chocolatey.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/installs/install_chocolatey.ps1 b/scripts/installs/install_chocolatey.ps1 index c726122..38adc08 100644 --- a/scripts/installs/install_chocolatey.ps1 +++ b/scripts/installs/install_chocolatey.ps1 @@ -1,5 +1,6 @@ $ChocoInstallPath = "$env:SystemDrive\ProgramData\Chocolatey\bin" if (!(Test-Path $ChocoInstallPath)) { - iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) -} \ No newline at end of file + $env:chocolateyVersion = '0.10.8' # hack as 0.10.9 is broken - for https://github.com/chocolatey/choco/issues/1529 + iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1') -v ) +}