Update index.py

pull/618/head
Mr Chen 10 months ago
parent 662e983f01
commit 38c7b2d44e
  1. 4
      plugins/php-yum/index.py

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

Loading…
Cancel
Save