postrm is in courier-faxmail 0.78.0-2ubuntu2.
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 | #!/bin/sh
set -e
del_override() {
if dpkg-statoverride --list $4 >/dev/null; then
dpkg-statoverride --force --remove $4
fi
}
if [ "$1" = "purge" ]; then
del_override courier courier 0700 /var/lib/courier/faxtmp
del_override root courier 0640 /etc/courier/faxrc
fi
exit 0
|