view debian/postrm @ 8908:8689fa04b837

Purge debconf database on purge.
author eyck
date Sun, 12 Jan 2003 13:20:25 +0000
parents f335b0da380c
children 02309ce6fc22
line wrap: on
line source

#!/bin/sh

set -e

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
		rm -rf /etc/mplayer/
	fi
fi