From af8f9fb1a90f7893fd8f522361d5ef66da236edd Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 18 Oct 2023 23:21:49 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-apt/index.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 30f1b134c..3f38ca244 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -2738,10 +2738,11 @@ def installPreInspection(version): return '仅支持debian,ubuntu' if (sysName == 'debian' and not sysId in('12', '11', '10')): - if sysId == '12' and version == '8.0': - return 'debian12,暂时不支持8.0' return 'debian支持10,11,12' + if sysName == 'debian' and sysId == '12' and version == '8.0': + return 'debian12,暂时不支持8.0' + if (sysName == 'ubuntu' and version == '5.7' and not sysId in ('18.04')): return "Ubuntu Apt MySQL[" + version + "] 仅支持18.04"