view debian/postrm @ 30072:e86cf531b110

Restore the old value of planes[1] in vf_palette at the end to ensure we do not call free() on the fixed gray_pal array.
author reimar
date Sat, 26 Dec 2009 11:11:41 +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#