r17766 - in /desktop/unstable/gdm/debian: changelog gdm.postinst

lool at users.alioth.debian.org lool at users.alioth.debian.org
Fri Nov 28 18:55:31 UTC 2008


Author: lool
Date: Fri Nov 28 18:55:31 2008
New Revision: 17766

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17766
Log:
* Don't update-rc.d remove / install during first configuration.
* Use lt-nl when comparing versions instead of checking $2.

Modified:
    desktop/unstable/gdm/debian/changelog
    desktop/unstable/gdm/debian/gdm.postinst

Modified: desktop/unstable/gdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/changelog?rev=17766&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Fri Nov 28 18:55:31 2008
@@ -1,3 +1,10 @@
+gdm (2.20.7-5) UNRELEASED; urgency=low
+
+  * Don't update-rc.d remove / install during first configuration.
+  * Use lt-nl when comparing versions instead of checking $2.
+
+ -- Loic Minier <lool at dooz.org>  Fri, 28 Nov 2008 19:55:12 +0100
+
 gdm (2.20.7-4) unstable; urgency=low
 
   * 52_shutdown_crash.patch: updated to also ignore the signals in the 

Modified: desktop/unstable/gdm/debian/gdm.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/gdm.postinst?rev=17766&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/gdm.postinst (original)
+++ desktop/unstable/gdm/debian/gdm.postinst Fri Nov 28 18:55:31 2008
@@ -49,13 +49,13 @@
 S=30
 K=01
 
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.16.1-1"; then
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "2.16.1-1"; then
     # since 2.16.1-1, gdm isn't started from S99 anymore
     if [ -e /etc/rc2.d/S99gdm ]; then
         update-rc.d -f gdm remove >/dev/null
         update-rc.d gdm defaults $S $K
     fi
-elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "2.16.4-1.1"; then
+elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" le-nl "2.16.4-1.1"; then
     # since after 2.16.4-1.1, gdm isn't started from S21 anymore
     if [ -e /etc/rc2.d/S21gdm ]; then
         update-rc.d -f gdm remove >/dev/null
@@ -63,7 +63,7 @@
     fi
 fi
 
-if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "2.20"; then
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "2.20"; then
     # D'uh, that's an ugly hack, but upstream changed the syntax
     # of the quoting
     if grep -q '\\"' /etc/gdm/gdm.conf; then




More information about the pkg-gnome-commits mailing list