The following commit has been merged in the master branch:
commit fb977a402a041df05119e0f414d40d55fc2b3695
Author: Stephane Glondu <st...@glondu.net>
Date:   Thu Sep 15 00:02:27 2011 +0200

    Remove /var/lib/mldonkey altogether on purge
    
    ...and avoid side-effect of rmdir --verbose messing up with debconf.

diff --git a/debian/changelog b/debian/changelog
index 41b6ed2..9371923 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mldonkey (3.1.0-2) unstable; urgency=low
+
+  * Remove /var/lib/mldonkey on purge
+
+ -- St├ęphane Glondu <glo...@debian.org>  Thu, 15 Sep 2011 00:04:12 +0200
+
 mldonkey (3.1.0-1) unstable; urgency=low
 
   * New upstream release (Closes: #637646)
diff --git a/debian/mldonkey-server.postrm b/debian/mldonkey-server.postrm
index 04d40ab..73a4189 100644
--- a/debian/mldonkey-server.postrm
+++ b/debian/mldonkey-server.postrm
@@ -28,9 +28,7 @@ case "$1" in
         ucf --purge "$CONF"
     fi
 
-    rm -f /var/lib/mldonkey/downloads.ini
-    rmdir --verbose /var/lib/mldonkey || true
-
+    rm -rf /var/lib/mldonkey
     rm -rf /var/log/mldonkey
     rm -rf /var/run/mldonkey
 

-- 
mldonkey packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to