When detecting os_VENDOR, the lsb_release output may be different
from what is expected today. This patch fixes the detection.
Change-Id: I850ad1acbc2397c73e7cc85c1765cba6ba2f98d4
... | ... |
@@ -440,6 +440,7 @@ function is_fedora { |
440 | 440 |
fi |
441 | 441 |
|
442 | 442 |
[ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ |
443 |
+ [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ |
|
443 | 444 |
[ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleLinux" ] || \ |
444 | 445 |
[ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ] |
445 | 446 |
} |