view debian/postrm @ 17050:cd540846d052

Add support to get the list of files from a file containing one filename per line. Patch from devik (devik .at. cdi .dot. cz).
author albeu
date Sat, 26 Nov 2005 17:10:17 +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#