qa: fix notrun message in 159, remove version-conditional output
[pcp.git] / debian / pcp-webapi.prerm
blob0854d96778a936364e8a5306bb5803be4c0797c6
1 #!/bin/sh -e
2 #DEBHELPER#
4 if which invoke-rc.d >/dev/null 2>&1; then
5 invoke-rc.d pmwebd stop
6 else
7 /etc/init.d/pmwebd stop
8 fi