From fe2081b4079a613708d03abc5e1cd9594ec65298 Mon Sep 17 00:00:00 2001 From: jiaxiangkong <704564722@qq.com> Date: Thu, 7 Apr 2016 15:07:03 +0800 Subject: [PATCH] Update install.py --- install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index ad4b73fcd..9bdfe976b 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 == "redhat" 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 == "amazon linux ami": return True @property