postrm is in oidentd 2.0.8-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 14 15 16 17 18 19 20 21 22 | #!/bin/sh
# post removal script for the Debian GNU/Linux oidentd package
set -e
if [ -x /usr/sbin/update-inetd ]; then
if [ -x /usr/sbin/identd ]; then
update-inetd --add "ident stream tcp nowait nobody /usr/sbin/identd identd -i"
fi
fi
if [ "$1" = purge ]; then
if [ -x /usr/sbin/deluser ]; then
deluser --system --quiet oident
fi
fi
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d oidentd remove >/dev/null || exit $?
fi
# End automatically added section
|