prerm is in sreview-master 0.3.0-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 16 17 18 19 20 21 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/prerm.pgsql
dbc_go sreview-master "$@"
fi
# Automatically added by dh_installinit/11.1.4ubuntu1
if [ -x "/etc/init.d/sreview-dispatch" ] && [ "$1" = remove ]; then
invoke-rc.d sreview-dispatch stop || exit 1
fi
# End automatically added section
# Automatically added by dh_systemd_start/11.1.4ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'sreview-dispatch.service' >/dev/null || true
fi
# End automatically added section
|