Merge "Fix is_suse() check for openSUSE distros"

This commit is contained in:
Jenkins 2016-03-04 01:48:10 +00:00 committed by Gerrit Code Review
commit ba71f0ead7

View File

@ -433,7 +433,7 @@ function is_suse {
GetOSVersion
fi
[ "$os_VENDOR" = "openSUSE" ] || [ "$os_VENDOR" = "SUSE LINUX" ]
[[ "$os_VENDOR" =~ (openSUSE) || "$os_VENDOR" == "SUSE LINUX" ]]
}