view debian/postrm @ 16438:871e94131840

Ignore movi_end (except on error) to allow playing growing files. Also adds a check if stream_read read the requested length. This and the movi_end check on error help not accidently playing ID3 tags.
author reimar
date Fri, 09 Sep 2005 20:05:42 +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#