prerm is in tango-db 8.1.2c+dfsg-7ubuntu3.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.mysql
dbc_go tango-db $@
# Automatically added by dh_installinit
if [ -x "/etc/init.d/tango-db" ] || [ -e "/etc/init/tango-db.conf" ]; then
invoke-rc.d tango-db stop || exit $?
fi
# End automatically added section
|