HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: root (0)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/share/doc/xml-core/examples/foo.postrm
#!/bin/sh
## ----------------------------------------------------------------------
## debian/postrm: postremoval script for foo
## ----------------------------------------------------------------------

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

## --------------------------------------------------------------
## Remove package XML catalog file
if [ "$1" = "purge" ]
then

    rm -f /etc/xml/foo.xml
    rm -f /etc/xml/foo.xml.old

fi

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

exit 0

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