[25571] in Source-Commits

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

/svn/athena r25092 - trunk/debathena/config/gdm-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Apr 19 13:06:23 2011

Date: Tue, 19 Apr 2011 13:06:15 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201104191706.p3JH6F5Y022168@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-04-19 13:06:15 -0400 (Tue, 19 Apr 2011)
New Revision: 25092

Modified:
   trunk/debathena/config/gdm-config/debian/changelog
   trunk/debathena/config/gdm-config/debian/debathena-gdm-config.postinst
Log:
In gdm-config:
  * Only request a reboot on upgrade, not the first install


Modified: trunk/debathena/config/gdm-config/debian/changelog
===================================================================
--- trunk/debathena/config/gdm-config/debian/changelog	2011-04-19 15:52:50 UTC (rev 25091)
+++ trunk/debathena/config/gdm-config/debian/changelog	2011-04-19 17:06:15 UTC (rev 25092)
@@ -1,3 +1,9 @@
+debathena-gdm-config (1.26.1) unstable; urgency=low
+
+  * Only request a reboot on upgrade, not the first install
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 19 Apr 2011 13:05:28 -0400
+
 debathena-gdm-config (1.26) unstable; urgency=low
 
   * Force a reboot to fix broken nologin-monitor

Modified: trunk/debathena/config/gdm-config/debian/debathena-gdm-config.postinst
===================================================================
--- trunk/debathena/config/gdm-config/debian/debathena-gdm-config.postinst	2011-04-19 15:52:50 UTC (rev 25091)
+++ trunk/debathena/config/gdm-config/debian/debathena-gdm-config.postinst	2011-04-19 17:06:15 UTC (rev 25092)
@@ -68,7 +68,7 @@
 
 case "$1" in
     configure)
-	if dpkg --compare-versions "$2" lt '1.26~'; then
+	if dpkg --compare-versions "$2" lt-nl '1.26~'; then
 	    touch /var/run/reboot-required
 	fi
 	gdm_version="$(dpkg-query -W -f '${Version}' gdm)"


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