annotate debian/postrm @ 26360:a48df598c055

Split cfg-common.h into two separate header files. It was being included twice with different definitions set that activated either the lower or the upper half of the header. The effectively simulated using two different header files. It is more straightforward to split the header instead.
author diego
date Fri, 11 Apr 2008 09:48:36 +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#