[25490] in Source-Commits

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

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

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Thu Mar 10 23:47:21 2011

Date: Thu, 10 Mar 2011 23:47:16 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201103110447.p2B4lGEk006774@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-03-10 23:47:16 -0500 (Thu, 10 Mar 2011)
New Revision: 25020

Modified:
   trunk/debathena/config/auto-update/debian/changelog
   trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst
Log:
In auto-update:
  * Upgrade attempts now happen up to 3 times per night (Trac #694)


Modified: trunk/debathena/config/auto-update/debian/changelog
===================================================================
--- trunk/debathena/config/auto-update/debian/changelog	2011-03-11 04:39:38 UTC (rev 25019)
+++ trunk/debathena/config/auto-update/debian/changelog	2011-03-11 04:47:16 UTC (rev 25020)
@@ -1,3 +1,9 @@
+debathena-auto-update (1.23) UNRELEASED; urgency=low
+
+  * Upgrade attempts now happen up to 3 times per night (Trac #694)
+
+ -- Jonathan Reed <jdreed@mit.edu>  Thu, 10 Mar 2011 23:44:50 -0500
+
 debathena-auto-update (1.22.2) unstable; urgency=low
 
   * Use the correct version notation when removing obsolete conffiles

Modified: trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst
===================================================================
--- trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst	2011-03-11 04:39:38 UTC (rev 25019)
+++ trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst	2011-03-11 04:47:16 UTC (rev 25020)
@@ -93,7 +93,9 @@
 		upginterval=420
 		;;
 	esac
-	desync2cron 2 $upginterval root /usr/sbin/athena-auto-upgrade >> $UPG_CRONFILE
+	for h in 1 2 3; do
+	    desync2cron $h $upginterval root /usr/sbin/athena-auto-upgrade >> $UPG_CRONFILE
+	done
 	
     ;;
 


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