[25864] in Source-Commits
/svn/athena r25271 - trunk/debathena/config/cluster-login-config/debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Jul 20 18:08:07 2011
Date: Wed, 20 Jul 2011 18:08:01 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107202208.p6KM81sV016360@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jdreed
Date: 2011-07-20 18:08:01 -0400 (Wed, 20 Jul 2011)
New Revision: 25271
Modified:
trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
Log:
Use the correct version comparison to determine whether to run update-grub
Modified: trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst 2011-07-20 22:01:30 UTC (rev 25270)
+++ trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst 2011-07-20 22:08:01 UTC (rev 25271)
@@ -97,7 +97,7 @@
fi
fi
- if dpkg --compare-versions "$1" ge-nl 1.34~; then
+ if dpkg --compare-versions "$1" lt 1.35.1~; then
update-grub
fi