Mercurial > mplayer.hg
changeset 8908:8689fa04b837
Purge debconf database on purge.
author | eyck |
---|---|
date | Sun, 12 Jan 2003 13:20:25 +0000 |
parents | e82149e697a7 |
children | e59659bea3e0 |
files | debian/postrm |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/debian/postrm Sun Jan 12 11:45:49 2003 +0000 +++ b/debian/postrm Sun Jan 12 13:20:25 2003 +0000 @@ -3,7 +3,14 @@ set -e if [ "$1" = "purge" ]; then - if [ -d /etc/mplayer/ ]; then - rm -rf /etc/mplayer/ - fi + 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 + rm -rf /etc/mplayer/ + fi fi