postrm is in perl-modules 5.14.2-6ubuntu2.
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 | #!/bin/sh -e
# /etc/perl/Net/libnet.cfg mistakenly installed as /etc/Net in perl 5.8
if [ "$1" = remove ] && [ -f /etc/Net ] && which md5sum > /dev/null &&
[ "$(md5sum /etc/Net)" = "fb2946cae573b8ed3d654a180d458733 /etc/Net" ]
then
rm -f /etc/Net
fi
exit 0
|