postrm is in eperl 2.2.14-22build3.
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 | #!/bin/sh
set -e
# This file was shipped by eperl (<= 2.2.14-7), but since 2.2.14-8
# users are encouraged to put a symlink to /usr/bin/eperl if they
# need CGI scripting. This link is removed when uninstalling eperl.
cgi_nph_eperl=/usr/lib/cgi-bin/nph-eperl
# This file is managed by postinst, so remove it too.
cgi_suid_eperl=/usr/lib/cgi-bin/suideperl
[ "$1" = "remove" ] && [ -L $cgi_nph_eperl ] && rm -f $cgi_nph_eperl
[ "$1" = "remove" ] && [ -f $cgi_suid_eperl ] && rm -f $cgi_suid_eperl
exit 0
|