Update index.py

This commit is contained in:
midoks
2022-11-08 22:07:08 +08:00
parent 0dd72160f5
commit 942ed2b79f
+1 -1
View File
@@ -2321,7 +2321,7 @@ def installPreInspection(version):
if not sysName in ('centos',):
return '仅支持centos'
if sysName == 'centos' and version == '5.7' and not sysId in ('7'):
if sysName == 'centos' and version == '5.7' and sysId != '7':
return 'mysql5.7 仅支持centos7'
if sysName == 'centos' and version == '8.0' and not sysId in ('7', '8', '9'):