Fix syntax error
This commit is contained in:
parent
f228817817
commit
467b429bd9
|
@ -32,7 +32,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