Purge debconf database on purge.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8909 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2003-01-12 13:20:25 +00:00
parent a204add899
commit dd8c924bae
1 changed files with 10 additions and 3 deletions

7
debian/postrm vendored
View File

@ -3,6 +3,13 @@
set -e set -e
if [ "$1" = "purge" ]; then if [ "$1" = "purge" ]; then
if [ -e /usr/share/debconf/confmodule ]; then
# Source debconf library.
. /usr/share/debconf/confmodule
# Remove my changes to the db.
db_purge
fi
if [ -d /etc/mplayer/ ]; then if [ -d /etc/mplayer/ ]; then
rm -rf /etc/mplayer/ rm -rf /etc/mplayer/
fi fi