[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. debian/0.1.3-34-g3082fba

Francesco Poli (t1000) frx at firenze.linux.it
Fri Feb 11 23:09:41 UTC 2011


The following commit has been merged in the master branch:
commit 3082fba54250624ec4d52d7f8d8e209f801908f2
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Sat Feb 12 00:05:15 2011 +0100

    added code for abort-install (Closes: #611913)
    
    Added code for the abort-install case to the postrm script,
    so that we do not leave an apt configuration fragment around
    if unpack fails while installing from a conf-files status.

diff --git a/debian/changelog b/debian/changelog
index 12072c5..cee65ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,12 +28,15 @@ apt-listbugs (0.1.4) UNRELEASED; urgency=low
     involved in apt-listbugs maintenance
   * fixed "scary message on interruption": enhanced SIGINT trapping in
     early stages of runtime (Closes: #605039)
+  * fixed "leaves problematic apt configuration fragment if in config-
+    files status and unpack fails": added code for the abort-install case
+    to the postrm script (Closes: #611913)
 
   [ Ryan Niebur ]
   * updated German translation, thanks Thomas Mueller! (Closes: #578305)
   * flush stdin after running the web browser (Closes: #578299)
 
- -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sat, 27 Nov 2010 22:50:27 +0100
+ -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sun, 06 Feb 2011 21:23:02 +0100
 
 apt-listbugs (0.1.3) unstable; urgency=low
 
diff --git a/debian/copyright b/debian/copyright
index 3b146f5..52fa8da 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,7 +7,7 @@ The original source can always be found at:
 Copyright (C) 2002-2004  Masato Taruishi <taru at debian.org>
 Copyright (C) 2006-2008  Junichi Uekawa <dancer at debian.org>
 Copyright (C) 2007       Jean Lepropre <jlepropre at gmail.com>
-Copyright (C) 2008-2010  Francesco Poli <frx at firenze.linux.it>
+Copyright (C) 2008-2011  Francesco Poli <frx at firenze.linux.it>
 Copyright (C) 2009-2010  Ryan Niebur <ryan at debian.org>
 
   This program is free software; you can redistribute it and/or modify
diff --git a/debian/postrm b/debian/postrm
index 72d9f33..c527c60 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -32,7 +32,14 @@ case "$1" in
         mv $hook $hook.disabled
         ;;
 
-    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    abort-install)
+        if test "x$2" != "x" && test -f $hook
+        then
+            mv $hook $hook.disabled
+        fi
+        ;;
+
+    upgrade|failed-upgrade|abort-upgrade|disappear)
         ;;
     
     *)

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list