0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.222.111.44


Current Path : /proc/self/root/usr/share/doc/xml-core/examples/
Upload File :
Current File : //proc/self/root/usr/share/doc/xml-core/examples/foo.prerm

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

## ----------------------------------------------------------------------
## Abort if any command returns an error value
set -e

## --------------------------------------------------------------
## Remove XML catalog entries
if [ "$1" = "remove" -o "$1" = "upgrade" ]
then

    update-xmlcatalog --verbose --add --root --type public \
        --id "-//FOO//DTD FOO//EN"

    update-xmlcatalog --verbose --add --root --type system \
        --id "http://www.foo.org/foo/foo.dtd"

    update-xmlcatalog --verbose --add --package foo --type public \
        --id "-//FOO//DTD FOO//EN"

    update-xmlcatalog --verbose --add --package foo --type system \
        --id "http://www.foo.org/foo/foo.dtd"

fi

## ----------------------------------------------------------------------
## Automatically added sections
#DEBHELPER#

exit 0

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