SPECS: gdm.spec - don't restart on upgrade, rel.2
freetz
freetz at pld-linux.org
Wed Oct 19 20:44:41 CEST 2005
Author: freetz Date: Wed Oct 19 18:44:41 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- don't restart on upgrade, rel.2
---- Files affected:
SPECS:
gdm.spec (1.168 -> 1.169)
---- Diffs:
================================================================
Index: SPECS/gdm.spec
diff -u SPECS/gdm.spec:1.168 SPECS/gdm.spec:1.169
--- SPECS/gdm.spec:1.168 Tue Oct 4 22:20:21 2005
+++ SPECS/gdm.spec Wed Oct 19 20:44:35 2005
@@ -16,7 +16,7 @@
Summary(uk): äÉÓĐĚĹĘÎÉĘ ÍĹÎĹÄÖĹŇ GNOME
Name: gdm
Version: 2.8.0.5
-Release: 1
+Release: 2
Epoch: 1
License: GPL/LGPL
Group: X11/Applications
@@ -219,11 +219,18 @@
%post init
/sbin/chkconfig --add gdm
-%service gdm restart
+if [ -f /var/lock/subsys/gdm ]; then
+ echo "Run \"service gdm restart\" to restart gdm." >&2
+ echo "WARNING: it will terminate all sessions opened from gdm!" >&2
+else
+ echo "Run \"service gdm start\" to start gdm." >&2
+fi
%preun init
if [ "$1" = "0" ]; then
- %service -q gdm stop
+ if [ -f /var/lock/subsys/gdm ]; then
+ /etc/rc.d/init.d/gdm stop >&2
+ fi
/sbin/chkconfig --del gdm
fi
@@ -288,6 +295,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.169 2005/10/19 18:44:35 freetz
+- don't restart on upgrade, rel.2
+
Revision 1.168 2005/10/04 20:20:21 freetz
- 2.8.0.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gdm.spec?r1=1.168&r2=1.169&f=u
More information about the pld-cvs-commit
mailing list