Fix syntax error
This commit is contained in:
parent
5e2dc315a8
commit
fab3c239f6
|
@ -33,7 +33,7 @@ function Start-InstallationLoop {
|
||||||
if (-not (Get-Stage)) {
|
if (-not (Get-Stage)) {
|
||||||
Set-Stage [SetupStage]::Initialize;
|
Set-Stage [SetupStage]::Initialize;
|
||||||
break;
|
break;
|
||||||
} elseif (Get-Stage -eq [SetupStage]::Initialize) {
|
} elseif ((Get-Stage) -eq ([SetupStage]::Initialize)) {
|
||||||
if (-not ((Get-Command "choco") -and (Get-Command "refreshenv"))) {
|
if (-not ((Get-Command "choco") -and (Get-Command "refreshenv"))) {
|
||||||
Invoke-Hook "Install-Chocolatey" -Fallback {
|
Invoke-Hook "Install-Chocolatey" -Fallback {
|
||||||
# Install chocolatey
|
# Install chocolatey
|
||||||
|
|
Loading…
Reference in a new issue