prerm is in libxml-libxml-perl 2.0116+dfsg-1+deb8u2.
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" = "upgrade" ]; then
update-perl-sax-parsers --remove XML::LibXML::SAX::Parser
update-perl-sax-parsers --remove XML::LibXML::SAX
update-perl-sax-parsers --update
fi
|