view debian/postrm @ 27392:f28981b3f233

Fix wrong behavior with slave command by going back to the starting point of the play_tree to pop all existing configurations. Patch by Mathieu Schroeter <mathieu dot schroeter at gamesover dot ch>.
author ben
date Thu, 07 Aug 2008 09:53:59 +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#