1
0
mirror of https://github.com/containers/podman.git synced 2026-02-06 00:45:10 +01:00

fix: generate correct error message if Wix is not installed

Fixes #27955

Signed-off-by: Jeff MAURY <jmaury@redhat.com>
This commit is contained in:
Jeff MAURY
2026-01-26 14:11:35 +01:00
parent 1af4caf888
commit d04c84e783

View File

@@ -112,9 +112,9 @@ if (! (Get-Command 'dotnet' -errorAction SilentlyContinue)) {
Invoke-Expression 'dotnet tool list --global wix' `
-ErrorAction SilentlyContinue | Out-Null
if ($LASTEXITCODE -ne 0) {
Write-Error "Required dep `"Wix Toolset`" is not installed. " `
Write-Error ("Required dep `"Wix Toolset`" is not installed. " `
+ 'Please install it with the command ' `
+ "`"dotnet tool install --global wix`""
+ "`"dotnet tool install --global wix`"")
Exit 1
}