From 332316b0af0c6bc1f36f9c7fc006f1827ebf1752 Mon Sep 17 00:00:00 2001 From: MoonTails83 Date: Sun, 9 Oct 2016 11:25:25 +0800 Subject: [PATCH] Update install.py --- install/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install.py b/install/install.py index 6b71fd17f..2c6ecc94d 100755 --- a/install/install.py +++ b/install/install.py @@ -85,7 +85,7 @@ class PreSetup(object): @property def _is_redhat(self): - if self.dist.startswith("centos") or self.dist.startswith("red") or self.dist == "fedora" or self.dist == "amazon linux ami": + if self.dist.startswith("centos") or self.dist.startswith("red") or self.dist == "fedora" or self.dist == "oracle" or self.dist == "amazon linux ami": return True @property @@ -105,7 +105,7 @@ class PreSetup(object): def check_platform(self): if not (self._is_redhat or self._is_ubuntu): - print(u"支持的平台: CentOS, RedHat, Fedora, Debian, Ubuntu, Amazon Linux, 暂不支持其他平台安装.") + print(u"支持的平台: CentOS, RedHat, Fedora, Oracle Linux, Debian, Ubuntu, Amazon Linux, 暂不支持其他平台安装.") exit() @staticmethod