1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
mpv/debian/postrm
eyck dd8c924bae Purge debconf database on purge.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8909 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 13:20:25 +00:00

17 lines
266 B
Bash

#!/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