rpms/xorg-x11-xinit/devel Xclients,1.3,1.4

Matej Cepl mcepl at fedoraproject.org
Mon Jun 8 20:54:47 UTC 2009


Author: mcepl

Update of /cvs/pkgs/rpms/xorg-x11-xinit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv565/devel

Modified Files:
	Xclients 
Log Message:
Consider scripts in /etc/X11/xinit/XClients.d as well


Index: Xclients
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xinit/devel/Xclients,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- Xclients	25 Sep 2006 17:30:37 -0000	1.3
+++ Xclients	8 Jun 2009 20:54:16 -0000	1.4
@@ -37,6 +37,12 @@ elif [ -n "$STARTKDE" ]; then
     exec "$STARTKDE"
 fi
 
+# We should also support /etc/X11/xinit/Xclients.d scripts
+XCLIENTS_D=/etc/X11/xinit/Xclients.d
+if [ -d "$XCLIENTS_D" -a "$#" -eq 1 -a -x "$XCLIENTS_D/Xclients.$1.sh" ]; then
+    exec -l $SHELL -c "$SSH_AGENT $XCLIENTS_D/Xclients.$1.sh"
+fi
+
 # Failsafe.
 
 # these files are left sitting around by TheNextLevel.




More information about the fedora-extras-commits mailing list