view debian/postrm @ 23523:273aa6124f66

avoid utter breakage on non-x86, patch from Chris Roccati <roccati@at@pobox.dot.com>
author lu_zero
date Sun, 10 Jun 2007 21:58:30 +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#