view debian/postrm @ 23987:9ea121c8e2df

Handle case where get_image is called twice without a draw_image in-between (-vc ffmpeg12 seems to do this sometimes).
author reimar
date Fri, 03 Aug 2007 18:29:54 +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#