prerm is in sympa 6.1.17~dfsg-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 22 23 24 25 26 27 28 29 30 31 32 33 34 | #!/bin/sh
#
# prerm script for sympa
#
set -e
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
. /usr/share/dbconfig-common/dpkg/prerm
dbc_go sympa $@
fi
if [ "$1" = "remove" ]; then
rm -f /etc/mail/smrsh/bouncequeue /etc/mail/smrsh/queue
fi
if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports rm_conffile ; then
dpkg-maintscript-helper rm_conffile /etc/sympa/data_structure.version \
"6.1.11~dfsg-1~" -- "$@"
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/sympa" ] || [ -e "/etc/init/sympa.conf" ]; then
invoke-rc.d sympa stop || exit $?
fi
# End automatically added section
exit 0
|