[25445] in Source-Commits

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

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

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Mar 1 11:49:43 2011

Date: Tue, 1 Mar 2011 11:49:37 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201103011649.p21GnbAq025274@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-03-01 11:49:37 -0500 (Tue, 01 Mar 2011)
New Revision: 24989

Modified:
   trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst
Log:
Use correct version when removing cron.d file

Modified: trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst
===================================================================
--- trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst	2011-03-01 16:48:42 UTC (rev 24988)
+++ trunk/debathena/config/auto-update/debian/debathena-auto-update.postinst	2011-03-01 16:49:37 UTC (rev 24989)
@@ -43,8 +43,8 @@
 	    rm /var/lib/athena-update-status
 	fi
 	
-	# We stopped shipping our own cron.d file, so remove it.
-	if dpkg --compare-versions "$2" lt 1.22~; then
+	# We stopped shipping our own cron.d file in 1.21, so remove it.
+	if dpkg --compare-versions "$2" lt 1.21~; then
 	    rm -f /etc/cron.d/debathena-auto-update
 	fi
 


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