r10632 - in /desktop/unstable/gdm/debian: changelog gdm.postinst
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Tue May 1 15:21:49 UTC 2007
Author: lool
Date: Tue May 1 15:21:48 2007
New Revision: 10632
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10632
Log:
* Drop postinst upgrade snippet for version <= 2.0-0.beta4.6; upgrades of
version before sarge don't have to be supported.
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=10632&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Tue May 1 15:21:48 2007
@@ -43,8 +43,10 @@
- Merge patch by Michael Biebl to properly display wrapped login text;
closes: #408043.
* Apply update to templates; thanks Christian Perrier; closes: #417981.
-
- -- Loic Minier <lool at dooz.org> Tue, 01 May 2007 15:50:10 +0200
+ * Drop postinst upgrade snippet for version <= 2.0-0.beta4.6; upgrades of
+ version before sarge don't have to be supported.
+
+ -- Loic Minier <lool at dooz.org> Tue, 01 May 2007 17:21:01 +0200
gdm (2.16.4-1.1) unstable; urgency=low
Modified: desktop/unstable/gdm/debian/gdm.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/gdm.postinst?rev=10632&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/gdm.postinst (original)
+++ desktop/unstable/gdm/debian/gdm.postinst Tue May 1 15:21:48 2007
@@ -45,23 +45,6 @@
# debconf hangs if gdm gets started below without this
db_stop || true
-gdm_running=
-
-# NOTE: the binary on disk most likely has changed, so we can't use --exec
-if start-stop-daemon --stop --quiet --name gdm --signal 0 --pid /var/run/gdm.pid; then
- gdm_running=yes
-fi
-
-if [ -d /var/state/gdm ]; then
- if [ "$gdm_running" ]; then
- echo "Note: obsolete directory /var/state/gdm cannot be removed when gdm"
- echo "is running. Reinstall the gdm package (or remove the directory"
- echo "manually) when gdm is not running."
- else
- rm -r /var/state/gdm
- fi
-fi
-
if [ -e /etc/rc2.d/S99gdm ]; then
update-rc.d -f gdm remove >/dev/null
fi
More information about the pkg-gnome-commits
mailing list