source: proiecte/PPPP/gdm/debian/patches/06_run_xsession.d.patch @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 789 bytes
RevLine 
[134]1#
2# Description: Run /etc/X11/Xsession.d/.
3# Ubuntu-Specific: /etc/X11/Xsession.d is a Debianism/Ubuntuism
4#
5diff -Nur -x '*.orig' -x '*~' gdm-2.27.4/data/Xsession.in gdm-2.27.4.new/data/Xsession.in
6--- gdm-2.27.4/data/Xsession.in 2009-07-20 03:09:09.000000000 +0200
7+++ gdm-2.27.4.new/data/Xsession.in     2009-07-21 14:29:06.978475046 +0200
8@@ -186,6 +186,16 @@
9     done
10 fi
11 
12+# run /etc/X11/Xsession.d/
13+OPTIONFILE=/etc/X11/Xsession.options
14+if [ -d /etc/X11/Xsession.d ]; then
15+    for i in `ls /etc/X11/Xsession.d/` ; do
16+        if [ -r "/etc/X11/Xsession.d/$i" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
17+           . "/etc/X11/Xsession.d/$i"
18+        fi
19+    done
20+fi
21+
22 if [ "x$command" = "xcustom" ] ; then
23   if [ -x "$HOME/.xsession" ]; then
24     command="$HOME/.xsession"
Note: See TracBrowser for help on using the repository browser.