27 lines
726 B
Bash
Executable File
27 lines
726 B
Bash
Executable File
#!/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
|
|
|
|
## ----------------------------------------------------------------------
|