prerm is in spamassassin 3.4.1-8build1.
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
# In theory sa-update-keys is probably a config file, but I don't
# think it should be and I don't know how to get rid of it and
# /etc/spamassassin without causing dpkg to complain on purge.
if [ "$1" = "remove" ]; then
invoke-rc.d --quiet spamassassin stop || true
rm -Rf /var/lib/spamassassin
rm -Rf /etc/spamassassin/sa-update-keys
fi
|