From 0ca0519ef1e8f442a94e424f2f6f2f5fb157c08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 11 Sep 2017 09:38:58 +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 cce3db200..bb592e7e3 100755 --- a/install/install.py +++ b/install/install.py @@ -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