Update index.py

pull/130/head
midoks 3 years ago
parent e262e66442
commit cee6c24727
  1. 3
      plugins/php/index.py

@ -783,6 +783,9 @@ def installPreInspection(version):
if sysName == 'debian' and sysId > 10:
return 'debian10可以安装'
if sysName == 'centos' and sysId > 8:
return 'centos[{}]不可以安装'.format(sysId)
if sysName == 'fedora':
sys_id = mw.execShell(
"cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}'")

Loading…
Cancel
Save