1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00

Purge debconf database on purge.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8909 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2003-01-12 13:20:25 +00:00
parent a204add899
commit dd8c924bae

13
debian/postrm vendored
View File

@ -3,7 +3,14 @@
set -e
if [ "$1" = "purge" ]; then
if [ -d /etc/mplayer/ ]; then
rm -rf /etc/mplayer/
fi
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