Fix syntax error

This commit is contained in:
Manuel Thalmann 2024-08-01 01:22:23 +02:00
parent 5e2dc315a8
commit fab3c239f6

View file

@ -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