postrm is in inn2 2.5.2+20110413-1build1.
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 | #!/bin/sh -e
if [ "$1" = "purge" ]; then
update-rc.d inn2 remove >/dev/null
if [ -e /var/lib/news/ ]; then
rm -f /var/lib/news/.news.daily /var/lib/news/active* \
/var/lib/news/newsgroups /var/lib/news/history*
rmdir --ignore-fail-on-non-empty /var/lib/news/
fi
fi
exit 0
|