From 4e6f8ca67047aef99ff1573bddc21b18aae1ce0b Mon Sep 17 00:00:00 2001 From: Fernando Ribeiro Date: Tue, 12 Apr 2016 23:34:03 -0300 Subject: [PATCH] Add installation support for Oracle Linux 7 This removes Oracle Linux 6 support ("OracleLinux") which, like RHEL6, is now unsupported. "OracleServer" matches Oracle Linux 7. Change-Id: I35b1c7d0b103c509283dba0f6551453e7d8ac4cc Closes-Bug: #1568634 --- functions-common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions-common b/functions-common index b0352d38c6..0806681c3b 100644 --- a/functions-common +++ b/functions-common @@ -380,7 +380,7 @@ function GetDistro { DISTRO="sle${os_RELEASE%.*}" elif [[ "$os_VENDOR" =~ (Red.*Hat) || \ "$os_VENDOR" =~ (CentOS) || \ - "$os_VENDOR" =~ (OracleLinux) || \ + "$os_VENDOR" =~ (OracleServer) || \ "$os_VENDOR" =~ (Virtuozzo) ]]; then # Drop the . release as we assume it's compatible # XXX re-evaluate when we get RHEL10 @@ -427,7 +427,7 @@ function is_oraclelinux { GetOSVersion fi - [ "$os_VENDOR" = "OracleLinux" ] + [ "$os_VENDOR" = "OracleServer" ] } @@ -441,7 +441,7 @@ function is_fedora { [ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ - [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleLinux" ] || \ + [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleServer" ] || \ [ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ] }