r611 - in /branches/experimental/boinc/debian: boinc-client.postrm changelog

fst-guest at users.alioth.debian.org fst-guest at users.alioth.debian.org
Thu Mar 29 21:14:56 CET 2007


Author: fst-guest
Date: Thu Mar 29 20:14:56 2007
New Revision: 611

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=611
Log:
Fixed #416663

Modified:
    branches/experimental/boinc/debian/boinc-client.postrm
    branches/experimental/boinc/debian/changelog

Modified: branches/experimental/boinc/debian/boinc-client.postrm
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/debian/boinc-client.postrm?rev=611&op=diff
==============================================================================
--- branches/experimental/boinc/debian/boinc-client.postrm (original)
+++ branches/experimental/boinc/debian/boinc-client.postrm Thu Mar 29 20:14:56 2007
@@ -3,8 +3,10 @@
 
 set -e
 
-# Source the debconf shell library.
-. /usr/share/debconf/confmodule
+# Source the debconf shell library if it is available.
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
 
 BOINC_DIR=/var/lib/boinc-client
 
@@ -24,7 +26,7 @@
 case "$1" in
     purge)
         db_input high boinc-client/remove_boinc_dir || true
-        db_go
+        db_go || true
         db_get boinc-client/remove_boinc_dir || true
         if [ "$RET" = "true" ]; then
             rm_boinc_dir

Modified: branches/experimental/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/debian/changelog?rev=611&op=diff
==============================================================================
--- branches/experimental/boinc/debian/changelog (original)
+++ branches/experimental/boinc/debian/changelog Thu Mar 29 20:14:56 2007
@@ -31,6 +31,8 @@
     boinc-client's conffiles from 0644 boinc:boinc to 0640 root:boinc for
     gui_rpc_auth.cfg and to 0644 root:boinc for the rest but only if no
     'stat override' exists. (closes: #407678)
+  * debian/boinc-client.postrm: Changed postrm so it does not fail if debconf
+    is not available. (closes: #416663)
   * Replaced the conffile log_flags.xml with cc_config.xml:
     - Added debian/boinc-client.preinst which removes the obsolete conffile
       /etc/boinc-client/log_flags.xml if it was not modified locally.
@@ -65,7 +67,7 @@
     tools/run_in_ops and tools/updater. Some of them were required by the
     tools/make_project script.
 
- -- Frank S. Thomas <frank at thomas-alfeld.de>  Wed, 21 Mar 2007 14:29:43 +0100
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Thu, 29 Mar 2007 22:07:35 +0200
 
 boinc (5.4.11-5) unstable; urgency=low
 




More information about the pkg-boinc-commits mailing list