Update install.py

This commit is contained in:
老广
2017-09-11 09:38:58 +08:00
committed by GitHub
parent 8de50a0e83
commit 0ca0519ef1

View File

@@ -90,7 +90,7 @@ class PreSetup(object):
@property
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
@property