]> git.pld-linux.org Git - packages/gdm.git/blob - gdm-xsession.patch
- updated to 45.0.1
[packages/gdm.git] / gdm-xsession.patch
1 diff -urN gdm-2.6.0.3.orig/data/Xsession.in gdm-2.6.0.3/data/Xsession.in
2 --- gdm-2.6.0.3.orig/data/Xsession.in   2004-05-28 21:50:17.000000000 +0200
3 +++ gdm-2.6.0.3/data/Xsession.in        2004-07-09 15:07:16.039478016 +0200
4 @@ -35,6 +35,10 @@
5  test -f /etc/xprofile && . /etc/xprofile
6  test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
7  
8 +if [ ! -f $HOME/.profile ] && echo $SHELL |grep -q "bash"; then
9 +    test -f $HOME/.bash_profile && . $HOME/.bash_profile
10 +fi
11 +
12  # Translation stuff
13  if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then
14    gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate"
15 @@ -222,14 +226,23 @@
16    fi
17  fi
18  
19 +# Keep in sync with Xclients from xinitrc-ng 
20 +syswmfile="/etc/sysconfig/desktop"
21 +
22 +# In this file "$wmstyledir" value may be given
23 +[ -f "$syswmfile" ] && . $syswmfile
24 +
25 +if [ -z "$wmstyledir" ]; then
26 +    # Keep in sync with Xclients from xinitrc-ng 
27 +    wmstyledir="/etc/sysconfig/wmstyle"
28 +fi
29 +
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"
34 +fi
35 +
36 -# add ssh-agent if found
37 -sshagent="`gdmwhich ssh-agent`"
38 -if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
39 -    command="$sshagent -- $command"
40 -elif [ -z "$sshagent" ] ; then
41 -    echo "$0: ssh-agent not found!"
42 -fi
43 -
44  echo "$0: Setup done, will execute: $command"
45  
46  eval exec $command
This page took 0.122163 seconds and 3 git commands to generate.