mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix typo in environment checker (#7547)
Fix error in environment checking logic for RedHat family.
This commit is contained in:
committed by
Travis Plunk
parent
96b2c83c59
commit
5232bb4890
+1
-1
@@ -158,7 +158,7 @@ function Get-EnvironmentInformation
|
||||
$environment.IsDebian -or
|
||||
$environment.IsUbuntu -or
|
||||
$environmment.IsRedHatFamily -or
|
||||
$environmment.IsSUSEFamily)
|
||||
$environment.IsSUSEFamily)
|
||||
) {
|
||||
throw "The current OS : $($LinuxInfo.ID) is not supported for building PowerShell."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user