view debian/postrm @ 27890:a4e2700e9381

Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) same boiler-plate code with them, just with different bugs.
author reimar
date Sat, 15 Nov 2008 18:56:25 +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#