postrm is in qmail 1.06-4.
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
rm -f /var/lib/qmail/queue/lock/trigger
test ! -d /var/lib/qmail/queue/lock || rmdir /var/lib/qmail/queue/lock || :
test ! -d /var/lib/qmail/queue || rmdir /var/lib/qmail/queue || :
test ! -d /var/lib/qmail || rmdir /var/lib/qmail || :
test "$1" = 'purge' || exit 0
rm -f /etc/qmail/users/*
test ! -d /etc/qmail/users || rmdir /etc/qmail/users || :
rm -f /etc/qmail/*
test ! -d /etc/qmail || rmdir /etc/qmail || :
|