#!/bin/sh
## ----------------------------------------------------------------------
## debian/preinst : preinstallation script for xml-core
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
set -e
## ----------------------------------------------------------------------
if [ "$1" = "install" ]
then
## ------------------------------------------------------------------
## preserve legacy /etc/xml/catalog
if [ -f /etc/xml/catalog ]
then
mv /etc/xml/catalog /etc/xml/catalog.legacy
fi
fi
## ----------------------------------------------------------------------
## automatically generated debhelper commands
exit 0
## ----------------------------------------------------------------------
|