[25870] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25273 - trunk/debathena/config/auto-update/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Jul 26 08:49:11 2011

Date: Tue, 26 Jul 2011 08:49:05 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107261249.p6QCn5X5020188@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-07-26 08:49:05 -0400 (Tue, 26 Jul 2011)
New Revision: 25273

Modified:
   trunk/debathena/config/auto-update/debian/athena-auto-update
   trunk/debathena/config/auto-update/debian/changelog
Log:
In auto-update:
  * Fix bug which results in update status never recovering from 'warning'


Modified: trunk/debathena/config/auto-update/debian/athena-auto-update
===================================================================
--- trunk/debathena/config/auto-update/debian/athena-auto-update	2011-07-26 11:56:37 UTC (rev 25272)
+++ trunk/debathena/config/auto-update/debian/athena-auto-update	2011-07-26 12:49:05 UTC (rev 25273)
@@ -17,14 +17,10 @@
 }
 
 save_success() {
-  # Warnings which don't terminate the update should get saved, 
-  # along with the final success message.
-  if [ "$updstatus" = "warning" ]; then
-      updmsg="$* ($updmsg)"
-  else
-      updstatus="ok"
-      updmsg="$*"
-  fi
+  # We used to check for 'warning' here for non-fatal warnings.
+  # There is no longer any such thing.
+  updstatus="ok"
+  updmsg="$*"
 }
 
 save_state() {

Modified: trunk/debathena/config/auto-update/debian/changelog
===================================================================
--- trunk/debathena/config/auto-update/debian/changelog	2011-07-26 11:56:37 UTC (rev 25272)
+++ trunk/debathena/config/auto-update/debian/changelog	2011-07-26 12:49:05 UTC (rev 25273)
@@ -1,3 +1,9 @@
+debathena-auto-update (1.24) unstable; urgency=low
+
+  * Fix bug which results in update status never recovering from 'warning'
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 26 Jul 2011 08:48:14 -0400
+
 debathena-auto-update (1.23.4) unstable; urgency=low
 
   * Support Natty's idea of preseeding the keyboard layout


home help back first fref pref prev next nref lref last post