annotate debian/postrm @ 26758:9fb1d2c3dbd4

cosmetics: Remove pointless parentheses from return statements.
author diego
date Fri, 16 May 2008 09:41:00 +0000
parents 02309ce6fc22
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7214
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
1 #!/bin/sh
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
2
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
3 set -e
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
4
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
5 if [ "$1" = "purge" ]; then
8908
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
6 if [ -e /usr/share/debconf/confmodule ]; then
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
7 # Source debconf library.
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
8 . /usr/share/debconf/confmodule
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
9 # Remove my changes to the db.
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
10 db_purge
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
11 fi
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
12
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
13 if [ -d /etc/mplayer/ ]; then
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
14 rm -rf /etc/mplayer/
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
15 fi
7214
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
16 fi
8911
02309ce6fc22 Pass control to debhelper scripts
eyck
parents: 8908
diff changeset
17
02309ce6fc22 Pass control to debhelper scripts
eyck
parents: 8908
diff changeset
18 #DEBHELPER#