This commit is contained in:
Mr Chen 2024-07-19 14:52:13 +08:00
parent d32dd19dd0
commit c4cda94309
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -345,7 +345,7 @@ def installPreInspection():
return '不支持该系统'
if sysName == 'debain' and not sysId in ['12']:
return '不支持,'+sysName+'['+sysId+']'
return '不支持,'+sysName+'['+sysId+'],仅支持debian12!'
openresty_dir = mw.getServerDir() + "/openresty"
if not os.path.exists(openresty_dir):

View File

@ -171,6 +171,9 @@ def initdUinstall():
def installPreInspection():
zabbix_dir = mw.getServerDir()+'/zabbix'
if os.path.exists(zabbix_dir):
return '已经安装zabbix插件'
return 'ok'