[25907] in Source-Commits

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

/svn/athena r25291 - trunk/debathena/config/cluster-login-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Jul 27 12:35:20 2011

Date: Wed, 27 Jul 2011 12:35:14 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107271635.p6RGZECB014632@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-07-27 12:35:14 -0400 (Wed, 27 Jul 2011)
New Revision: 25291

Modified:
   trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
Log:
Use the correct version comparison

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-27 16:21:13 UTC (rev 25290)
+++ trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst	2011-07-27 16:35:14 UTC (rev 25291)
@@ -89,7 +89,7 @@
             rm_conffile debathena-cluster-login-config "/etc/init/ttymsg.conf"
         fi
 
-	if dpkg --compare-versions "$2" ge '1.36~'; then
+	if dpkg --compare-versions "$2" lt '1.36.1~'; then
 	    # Cleanup from previous installs
 	    # /etc/apt/preferences was frobbed due to (LP:508545)
 	    if grep -qxF "Package: libstdc++5" /etc/apt/preferences 2>/dev/null; then


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