Remove the agent before upgrades and downgrades

tags/wpkg-zabbix_agent-3.4.3-0.beta1
Daniel Berteaud 8 years ago
parent 4d5ff41725
commit 81b091a24f
  1. 8
      packages/zabbix_agent.xml

@ -17,14 +17,10 @@
<exit code="any" /> <exit code="any" />
</install> </install>
<upgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <upgrade include="remove" />
<exit code="any" />
</upgrade>
<upgrade include="install" /> <upgrade include="install" />
<downgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <downgrade include="remove" />
<exit code="any" />
</downgrade>
<downgrade include="install" /> <downgrade include="install" />
<remove cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <remove cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>

Loading…
Cancel
Save