view debian/postrm @ 29811:0cc6fcd342fd

Add a check if compiler creates PIC code and if so add -DPIC to YASMFLAGS. Should make it possible to compile MPlayer as PIE on x86_64 e.g. on hardened Gentoo and probably OpenBSD, too.
author reimar
date Sun, 08 Nov 2009 15:38:59 +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#