From b570440bb2e55a2560a61bb07050ec0f9749d1ab Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 3 Feb 2010 17:39:30 +0000 Subject: [PATCH] Add new script to the package (towards resolving #540546) --- xinit-compat | 7 +++++++ xorg-x11-xinit.spec | 1 + 2 files changed, 8 insertions(+) create mode 100644 xinit-compat diff --git a/xinit-compat b/xinit-compat new file mode 100644 index 0000000..4b58e90 --- /dev/null +++ b/xinit-compat @@ -0,0 +1,7 @@ +#/bin/sh +for session in ~/.xsession ~/.Xclients /etc/X11/xinit/Xclients ; +do +if [ -f ${session} ] ; then + exec ${session} +fi +done diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 1883efa..e8ce3f0 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -20,6 +20,7 @@ Source14: Xresources Source16: Xsession Source17: localuser.sh Source18: xinit-compat.desktop +Source11: xinit-compat Source100: ck-xinit-session.c Patch1: xinit-1.0.2-client-session.patch