Commit 0ca0519e authored by 老广's avatar 老广 Committed by GitHub

Update install.py

parent 8de50a0e
...@@ -90,7 +90,7 @@ class PreSetup(object): ...@@ -90,7 +90,7 @@ class PreSetup(object):
@property @property
def _is_centos7(self): def _is_centos7(self):
if self.dist.startswith("centos") or self.dist.startswith("centos linux") and self.version.startswith("7"): if (self.dist.startswith("centos") or self.dist.startswith("centos linux")) and self.version.startswith("7"):
return True return True
@property @property
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment