File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ function Bootstrap-Boxstarter {
22 if (-not $env: ChocolateyInstall -or -not (Test-Path " $env: ChocolateyInstall " )){
33 Write-Output " Chocolatey not installed. Downloading and installing..."
44 $env: ChocolateyInstall = " $env: programdata \chocolatey"
5- New-Item $env: ChocolateyInstall - Force - type directory | Out-Null
65 Get-HttpToFile " https://chocolatey.org/install.ps1" " $env: temp \choco.ps1"
76 . " $env: temp \choco.ps1"
87 }
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ function Check-Chocolatey {
8282 }
8383 try {
8484 $env: ChocolateyInstall = " $env: programdata \chocolatey"
85- New-Item $env: ChocolateyInstall - Force - type directory | Out-Null
8685 $url = " https://chocolatey.org/api/v2/package/chocolatey/"
8786 $wc = new-object net.webclient
8887 $wp = [system.net.WebProxy ]::GetDefaultProxy()
You can’t perform that action at this time.
0 commit comments