view debian/postrm @ 24180:73aafdcc92fc

warning fix: modify_reg.c: In function 'remove_key': modify_reg.c:39: warning: unused variable 'tmp_name' modify_reg.c:39: warning: unused variable 'tmp_val'
author diego
date Sat, 25 Aug 2007 17:39:15 +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#