Files
server/var/lib/dpkg/info/xml-core.preinst
2026-01-07 20:52:11 +01:00

29 lines
817 B
Bash
Executable File

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