Update index.py
This commit is contained in:
parent
b91d680d25
commit
dad3c295d4
|
|
@ -2321,10 +2321,10 @@ def installPreInspection(version):
|
|||
if not sysName in ('centos',):
|
||||
return '仅支持centos'
|
||||
|
||||
if sysName == 'centos' and version == '5.7' and sysId != '7':
|
||||
if not (sysName == 'centos' and version == '5.7' and not sysId in('7',)):
|
||||
return 'mysql5.7 仅支持centos7'
|
||||
|
||||
if sysName == 'centos' and version == '8.0' and not sysId in ('7', '8', '9',):
|
||||
if not (sysName == 'centos' and version == '8.0' and not sysId in ('7', '8', '9',)):
|
||||
return 'mysql8.0 仅支持centos7,8,9'
|
||||
return 'ok'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue