This commit is contained in:
midoks
2022-11-14 22:41:26 +08:00
parent f9330720d6
commit 8a36c2ee15
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2321,10 +2321,10 @@ def installPreInspection(version):
if not sysName in ('centos',):
return '仅支持centos'
if not (sysName == 'centos' and version == '5.7' and not sysId in('7',)):
if (sysName == 'centos' and version == '5.7' and not sysId in('7',)):
return 'mysql5.7 仅支持centos7'
if not (sysName == 'centos' and version == '8.0' and not sysId in ('7', '8', '9',)):
if (sysName == 'centos' and version == '8.0' and not sysId in ('7', '8', '9',)):
return 'mysql8.0 仅支持centos7,8,9'
return 'ok'