view debian/postrm @ 31153:953dd14839c0

support linking to fribidi without pkg-config reintroduce the logic that was removed with the previous commit. In case the naive approach to link fails, try again with pkg-config.
author siretart
date Mon, 24 May 2010 21:13:22 +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#