SPECS (DEVEL): kde4-kdebase-workspace.spec - banner from kde3

shadzik shadzik at pld-linux.org
Mon Aug 18 23:19:06 CEST 2008


Author: shadzik                      Date: Mon Aug 18 21:19:06 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- banner from kde3

---- Files affected:
SPECS:
   kde4-kdebase-workspace.spec (1.115.2.6 -> 1.115.2.7) 

---- Diffs:

================================================================
Index: SPECS/kde4-kdebase-workspace.spec
diff -u SPECS/kde4-kdebase-workspace.spec:1.115.2.6 SPECS/kde4-kdebase-workspace.spec:1.115.2.7
--- SPECS/kde4-kdebase-workspace.spec:1.115.2.6	Mon Aug 18 00:39:32 2008
+++ SPECS/kde4-kdebase-workspace.spec	Mon Aug 18 23:18:57 2008
@@ -566,7 +566,28 @@
 
 %post -n kde4-kdm
 /sbin/chkconfig --add kdm
-%service kdm restart
+if [ -f /var/lock/subsys/kdm ]; then
+	%banner kde4-kdm -e <<EOF
+ ***************************************************
+ *                                                 *
+ * NOTE:                                           *
+ * To make sure that new version of KDM is running *
+ * You should restart KDM with:                    *
+ * "/sbin/service kdm restart".                    *
+ *                                                 *
+ * WARNING:                                        *
+ * Restarting KDM will terminate any X session     *
+ * started by it!                                  *
+ *                                                 *
+ ***************************************************
+
+EOF
+else
+	%banner kde4-kdm -e <<EOF
+Run "/sbin/service kdm start" to start kdm.
+
+EOF
+fi
 
 %preun -n kde4-kdm
 if [ "$1" = "0" ]; then
@@ -1405,6 +1426,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115.2.7  2008/08/18 21:18:57  shadzik
+- banner from kde3
+
 Revision 1.115.2.6  2008/08/17 22:39:32  shadzik
 - one more file
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde4-kdebase-workspace.spec?r1=1.115.2.6&r2=1.115.2.7&f=u



More information about the pld-cvs-commit mailing list