Update install.py

pull/204/head
jiaxiangkong 2016-04-07 15:07:03 +08:00
parent fa323d4987
commit fe2081b407
1 changed files with 1 additions and 1 deletions

View File

@ -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