File: foo.postrm

package info (click to toggle)
xml-core 0.18%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 224 kB
  • sloc: perl: 565; makefile: 141; sh: 46; xml: 10
file content (26 lines) | stat: -rwxr-xr-x 726 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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

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