#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm : preremoval script for libxml-foo-perl
## ----------------------------------------------------------------------
## This file is provided as an example for packages providing a
## SAX parser. See /usr/share/doc/libxml-sax-perl/README.Debian.gz .
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
set -e

## ----------------------------------------------------------------------
if [ "$1" = remove ]
then
    update-perl-sax-parsers --remove XML::FOO
    update-perl-sax-parsers --update
fi

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

exit 0

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