Skip to content

Commit

Permalink
Install chocolatey 0.10.8
Browse files Browse the repository at this point in the history
As 0.10.9 is broken - see chocolatey/choco#1529
  • Loading branch information
jmartin-tech committed Apr 4, 2018
1 parent fb16668 commit 11e466c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/installs/install_chocolatey.ps1
Original file line number Diff line number Diff line change
@@ -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'))
}
$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 )
}

0 comments on commit 11e466c

Please sign in to comment.