archrelease: copy trunk to testing-x86_64
[arch-packages.git] / xfce4-session / trunk / source-system-xinitrc-scripts.patch
blobd25f5462844bf3322a2952fff3589d20062ddffb
1 diff -upr xfce4-session-4.14.0.orig/scripts/xinitrc.in.in xfce4-session-4.14.0/scripts/xinitrc.in.in
2 --- xfce4-session-4.14.0.orig/scripts/xinitrc.in.in 2019-08-11 23:11:06.000000000 +0300
3 +++ xfce4-session-4.14.0/scripts/xinitrc.in.in 2019-08-12 03:28:44.464707715 +0300
4 @@ -83,6 +83,13 @@ if command -v systemctl >/dev/null 2>&1
5 dbus-update-activation-environment --systemd XAUTHLOCALHOSTNAME=$XAUTHLOCALHOSTNAME
6 fi
8 +# source system xinitrc scripts
9 +if [ -d /etc/X11/xinit/xinitrc.d ]; then
10 + for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
11 + [ -x "$f" ] && . "$f"
12 + done
13 + unset f
14 +fi
16 # check if we start xfce4-session with ck-launch-session. this is only
17 # required for starting from a console, not a login manager