1 diff -urN gdm-2.6.0.3.orig/config/Xsession.in gdm-2.6.0.3/config/Xsession.in
2 --- gdm-2.6.0.3.orig/config/Xsession.in 2004-05-28 21:50:17.000000000 +0200
3 +++ gdm-2.6.0.3/config/Xsession.in 2004-07-09 15:07:16.039478016 +0200
5 test -f /etc/xprofile && . /etc/xprofile
6 test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
8 +if [ ! -f $HOME/.profile ] && echo $SHELL |grep -q "bash"; then
9 + test -f $HOME/.bash_profile && . $HOME/.bash_profile
13 if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then
14 gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate"
19 +# Keep in sync with Xclients from xinitrc-ng
20 +syswmfile="/etc/sysconfig/desktop"
22 +# In this file "$wmstyledir" value may be given
23 +[ -f "$syswmfile" ] && . $syswmfile
25 +if [ -z "$wmstyledir" ]; then
26 + # Keep in sync with Xclients from xinitrc-ng
27 + wmstyledir="/etc/sysconfig/wmstyle"
30 +if [ -x "$HOME/bin/$command.sh" ]; then
31 + command="$HOME/bin/$command.sh"
32 +elif [ -x "$wmstyledir/$command.sh" ]; then
33 + command="$wmstyledir/$command.sh"
36 # add ssh-agent if found
37 sshagent="`gdmwhich ssh-agent`"
38 if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then