Skip to content

Commit

Permalink
GH-518: fix Call-Chocolatey usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mwallner authored Jun 6, 2023
1 parent c7446a9 commit 8dacaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boxstarter.Chocolatey/New-PackageFromScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ about_boxstarter_chocolatey
$chocoInstall = [System.Environment]::GetEnvironmentVariable('ChocolateyInstall', 'MACHINE')
if($chocoInstall -eq $null) {
# Simply Installs choco repo and helpers
Call-Chocolatey
Call-Chocolatey -Command 'install' -PackageNames @('chocolatey')
$chocoInstall = [System.Environment]::GetEnvironmentVariable('ChocolateyInstall', 'MACHINE')
}
if($source -like "*://*"){
Expand Down

0 comments on commit 8dacaec

Please sign in to comment.