changeset 7214:f335b0da380c

Remove config files on purge.
author diego
date Sun, 01 Sep 2002 09:33:36 +0000
parents 13fcab6fde41
children 065387d29573
files debian/changelog debian/postrm
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/debian/changelog	Sat Aug 31 22:41:29 2002 +0000
+++ b/debian/changelog	Sun Sep 01 09:33:36 2002 +0000
@@ -1,3 +1,9 @@
+mplayer (0.90-3) unstable; urgency=low
+
+  * Remove configuration files on purge.
+
+ -- Diego Biurrun <diego@biurrun.de>  Sun,  1 Sep 2002 11:03:13 +0200
+
 mplayer (0.90-2) unstable; urgency=low
 
   * Use the confdir we compile with in the helper scripts
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/postrm	Sun Sep 01 09:33:36 2002 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]; then
+  if [ -d /etc/mplayer/ ]; then
+    rm -rf /etc/mplayer/
+  fi
+fi