Skip to content

Commit

Permalink
Merge branch 'hotfix/3.0.3'
Browse files Browse the repository at this point in the history
* hotfix/3.0.3:
  (#548) Remove creation of Chocolatey Install Directory
  • Loading branch information
AdmiringWorm committed Oct 6, 2023
2 parents 396a105 + fe5a18e commit c7e9336
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Boxstarter.TestRunner/Bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ function Bootstrap-Boxstarter {
if(-not $env:ChocolateyInstall -or -not (Test-Path "$env:ChocolateyInstall")){
Write-Output "Chocolatey not installed. Downloading and installing..."
$env:ChocolateyInstall = "$env:programdata\chocolatey"
New-Item $env:ChocolateyInstall -Force -type directory | Out-Null
Get-HttpToFile "https://chocolatey.org/install.ps1" "$env:temp\choco.ps1"
. "$env:temp\choco.ps1"
}
Expand Down
1 change: 0 additions & 1 deletion BuildScripts/bootstrapper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ function Check-Chocolatey {
}
try {
$env:ChocolateyInstall = "$env:programdata\chocolatey"
New-Item $env:ChocolateyInstall -Force -type directory | Out-Null
$url="https://chocolatey.org/api/v2/package/chocolatey/"
$wc=new-object net.webclient
$wp=[system.net.WebProxy]::GetDefaultProxy()
Expand Down

0 comments on commit c7e9336

Please sign in to comment.