mirror of https://github.com/mpv-player/mpv
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:
parent
a204add899
commit
dd8c924bae
|
@ -3,6 +3,13 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$1" = "purge" ]; then
|
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
|
if [ -d /etc/mplayer/ ]; then
|
||||||
rm -rf /etc/mplayer/
|
rm -rf /etc/mplayer/
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue