prerm is in sympa 6.2.24~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 35 36 37 38 39 40 41 42 43 44 45 | #!/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_installdeb/11ubuntu1
dpkg-maintscript-helper rm_conffile /etc/sympa/sympa.conf-smime.in "6.2.16~dfsg-4~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11ubuntu1
dpkg-maintscript-helper rm_conffile /etc/sympa/sympa/sympa.conf "6.2.16~dfsg-2~" -- "$@"
# End automatically added section
# Automatically added by dh_systemd_start/11ubuntu1
if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop 'sympa-archived.service' 'sympa-bounced.service' 'sympa-bulk.service' 'sympa-task_manager.service' >/dev/null
fi
# End automatically added section
# Automatically added by dh_installinit/11ubuntu1
if [ -x "/etc/init.d/sympa" ]; then
invoke-rc.d sympa stop || exit $?
fi
# End automatically added section
exit 0
|