postrm is in isc-dhcp-client-noddns 4.2.4-7ubuntu12.12.
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 | #!/bin/sh
set -e
if [ "$1" = "remove" -o "$1" = "abort-install" -o "$1" = "disappear" ]; then
dpkg-divert --package isc-dhcp-client-noddns --remove \
--rename --divert /sbin/dhclient-ddns /sbin/dhclient
fi
|