Skip to content

Commit c7e9336

Browse files
committed
Merge branch 'hotfix/3.0.3'
* hotfix/3.0.3: (#548) Remove creation of Chocolatey Install Directory
2 parents 396a105 + fe5a18e commit c7e9336

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Boxstarter.TestRunner/Bootstrap.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

BuildScripts/bootstrapper.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)