[Pkg-ocaml-maint-commits] [SCM] mldonkey packaging branch, master, updated. debian/3.0.3-2-5-gcf252f2

Mehdi Dogguy mehdi at debian.org
Tue Oct 26 04:36:28 UTC 2010


The following commit has been merged in the master branch:
commit cf252f21519596f8737887f59fa812f29405fd82
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Tue Oct 26 06:32:12 2010 +0200

    Remove /var/{log,run}/mldonkey on purge.

diff --git a/debian/changelog b/debian/changelog
index 6aa7e22..bb27189 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ mldonkey (3.0.3-3) unstable; urgency=low
 
   * Do not erase existing configuration on upgrades (Closes: #601332, #522900).
   * Recursively chown /var/{log,run}/mldonkey (Closes: #593091).
+  * Remove /var/{log,run}/mldonkey on purge.
 
- -- Mehdi Dogguy <mehdi at debian.org>  Tue, 26 Oct 2010 06:29:33 +0200
+ -- Mehdi Dogguy <mehdi at debian.org>  Tue, 26 Oct 2010 06:31:48 +0200
 
 mldonkey (3.0.3-2) unstable; urgency=low
 
diff --git a/debian/mldonkey-server.postrm b/debian/mldonkey-server.postrm
index e76df81..f1ae404 100644
--- a/debian/mldonkey-server.postrm
+++ b/debian/mldonkey-server.postrm
@@ -28,11 +28,9 @@ case "$1" in
         ucf --purge "$CONF"
     fi
 
-    # TODO: we should also remove all the file created by mldonkey, since it can
-    # contain huge files which takes hours to download, I am still hesitating to do
-    # so 
-    echo "Not removing MLDonkey directory (/var/lib/mldonkey, /var/run/mldonkey), user and group." >&2
-    echo "Remove it manually if needed." >&2
+    rm -rf /var/lib/mldonkey
+    rm -rf /var/run/mldonkey
+
     ;;
 
     *)

-- 
mldonkey packaging



More information about the Pkg-ocaml-maint-commits mailing list