From 942ed2b79fa1db37c1ed1f5735ed15beb634b026 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 8 Nov 2022 22:07:08 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-yum/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql-yum/index.py b/plugins/mysql-yum/index.py index 9199ae795..9f71ad51d 100755 --- a/plugins/mysql-yum/index.py +++ b/plugins/mysql-yum/index.py @@ -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'):