view debian/postrm @ 10051:55831d1b371b

fixed a 10l (undefined behavior) and made the other parameters configurable (it's probably nice not to have to throw away half the information...)
author rfelker
date Sat, 03 May 2003 04:20:44 +0000
parents 02309ce6fc22
children
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

#DEBHELPER#