Update index.py

This commit is contained in:
Mr Chen 2024-07-20 00:50:23 +08:00
parent 662e983f01
commit 38c7b2d44e
1 changed files with 2 additions and 2 deletions

View File

@ -848,8 +848,8 @@ def installPreInspection(version):
sysName = sys[0].strip().lower()
sysId = sys_id[0].strip()
if not sysName in ('centos'):
return '暂时仅支持centos'
if not sysName in ['centos','almalinux']:
return '暂时仅支持centos,almalinux'
return 'ok'
except Exception as e:
return str(e)