commit 20576c8286d8954186bbae00280ed925f8507f0f Author: Carlos Goncalves Date: Sat Aug 1 21:47:55 2020 +0200 Fix is_fedora RHEL 8 detection While RHEL 7 is detected as RedHatEnterpriseServer, RHEL 8 is RedHatEnterprise. $ lsb_release -i -s RedHatEnterprise Change-Id: I3d750d808c6ebea9c230f0508cdbc016415b9922 (cherry picked from commit 587e0a3510ea3b40abbdffcd1fe3204e416c4bc9) diff --git a/functions-common b/functions-common index 6be07b4..83ae83a 100644 --- a/functions-common +++ b/functions-common @@ -449,6 +449,7 @@ function is_fedora { [ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ + [ "$os_VENDOR" = "RedHatEnterprise" ] || \ [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleServer" ] || \ [ "$os_VENDOR" = "Virtuozzo" ] }