view debian/postrm @ 29427:ba2cb7c23fa2

dpkg-buildpackage automatically sets CFLAGS and pals to -g -O2. Unset CFLAGS and friends to avoid failures when building Debian packages. patch from the official Debian package, submitted by Anton Khirnov
author diego
date Sun, 02 Aug 2009 15:17:26 +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#