archrelease: copy trunk to testing-x86_64
[arch-packages.git] / xorg-xdm / trunk / Xsession-xsm.patch
blob5524de26ccc950d05dcdc5318a9ecfbd7e53b0c6
1 --- xdm/config/Xsession.in.orig 2018-06-18 14:25:14.113681055 +0000
2 +++ xdm/config/Xsession.in 2018-06-18 14:26:10.313832406 +0000
3 @@ -51,6 +51,7 @@
5 startup=$HOME/.xsession
6 resources=$HOME/.Xresources
7 +xinitrc=$HOME/.xinitrc
9 if [ -s "$startup" ]; then
10 exec /bin/sh -ls -c "$startup"
11 @@ -58,5 +59,9 @@
12 if [ -r "$resources" ]; then
13 BINDIR/xrdb -load "$resources"
15 - exec BINDIR/xsm
16 + if [ -r "$xinitrc" ]; then
17 + exec /bin/sh -ls -c "$xinitrc"
18 + else
19 + exec /bin/sh -l /etc/X11/xinit/xinitrc
20 + fi