Update index.py

This commit is contained in:
Mr Chen 2024-07-19 19:26:53 +08:00
parent 4fa2588b66
commit 42dfe63c2f
1 changed files with 1 additions and 3 deletions

View File

@ -397,9 +397,7 @@ def installPreInspection():
cmd = "cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F '\"' '{print $2}'"
sys_id = mw.execShell(cmd)
sysId = sys_id[0].strip()
sysId = sys_id[0].strip().lower()
if not sysName in ['debain','centos']:
return '不支持该系统'