prerm is in zabbix-proxy-pgsql 1:1.8.11-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.pgsql
# Automatically added by dh_installinit
if [ -x "/etc/init.d/zabbix-proxy" ]; then
invoke-rc.d zabbix-proxy stop || exit $?
fi
# End automatically added section
dbc_go zabbix-proxy-pgsql $@
exit 0
|