Merge "Fix is_suse() check for openSUSE distros"
This commit is contained in:
commit
ba71f0ead7
@ -433,7 +433,7 @@ function is_suse {
|
||||
GetOSVersion
|
||||
fi
|
||||
|
||||
[ "$os_VENDOR" = "openSUSE" ] || [ "$os_VENDOR" = "SUSE LINUX" ]
|
||||
[[ "$os_VENDOR" =~ (openSUSE) || "$os_VENDOR" == "SUSE LINUX" ]]
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user