[Pkg-ocaml-maint-commits] r2865 - in /trunk/packages/mldonkey/trunk/debian: changelog control mldonkey-server.postrm

smimram at users.alioth.debian.org smimram at users.alioth.debian.org
Fri Jun 23 12:59:33 UTC 2006


Author: smimram
Date: Fri Jun 23 12:59:31 2006
New Revision: 2865

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2865
Log:
Use ucf in postrm only if present.

Modified:
    trunk/packages/mldonkey/trunk/debian/changelog
    trunk/packages/mldonkey/trunk/debian/control
    trunk/packages/mldonkey/trunk/debian/mldonkey-server.postrm

Modified: trunk/packages/mldonkey/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/changelog?rev=2865&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/changelog (original)
+++ trunk/packages/mldonkey/trunk/debian/changelog Fri Jun 23 12:59:31 2006
@@ -2,6 +2,7 @@
 
   * Disabling DirectConnect plugin for now since it is unstable and does not
     support uploading, closes: #224836.
+  * Use ucf in postrm only if present, closes: #333314.
 
  -- Samuel Mimram <smimram at debian.org>  Fri, 23 Jun 2006 12:05:49 +0000
 

Modified: trunk/packages/mldonkey/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/control?rev=2865&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/control (original)
+++ trunk/packages/mldonkey/trunk/debian/control Fri Jun 23 12:59:31 2006
@@ -17,7 +17,7 @@
  client, plus some more:
   - works on UNIX-compatible platforms.
   - remote control by telnet, WEB browser or GTK interface. 
-  - access to EDonkey ( edonkey2000, overnet, emule )
+  - access to EDonkey (edonkey2000, overnet, emule)
   - access to Gnutella1/2
   - access to Soulseek
   - access to Bittorrent

Modified: trunk/packages/mldonkey/trunk/debian/mldonkey-server.postrm
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/mldonkey-server.postrm?rev=2865&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/mldonkey-server.postrm (original)
+++ trunk/packages/mldonkey/trunk/debian/mldonkey-server.postrm Fri Jun 23 12:59:31 2006
@@ -20,11 +20,14 @@
     done
  
     rm -f "$CONF"
-  
-    ucf --purge "$CONF"
 
-    # BUG : we should also remove all the file created by mldonkey, since it contains
-    # huge files which takes hours to download, i am still hesitating to do so 
+    if which ucf > /dev/null; then
+        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," >&2
     echo "/var/run/mldonkey), user and group. Remove it manually if needed." >&2
     ;;




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