Source

perl-XML-LibXML / debian / libxml-libxml-perl.prerm

#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm : preremoval script for libxml-libxml-perl
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
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

## ---------------------------------------------------------------------- 
## automatically generated debhelper commands
#DEBHELPER#

exit 0

## ----------------------------------------------------------------------