diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2014-01-04 05:11:12 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:14:00 -0600 |
commit | 97f8a91699eae08f7af1216d21b4836f2fea9257 (patch) | |
tree | 2d57a3d197aa8dc400b4fb6e7c3cc40f90675379 /system/lxdm/patches/source_profile_in_Xsession.diff | |
parent | 3a2c1b884c36bc4beab1339c5e51445a2ef06b1d (diff) | |
download | slackbuilds-97f8a91699eae08f7af1216d21b4836f2fea9257.tar.gz |
system/lxdm: Updated for version 20140103_b8b08e5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lxdm/patches/source_profile_in_Xsession.diff')
-rw-r--r-- | system/lxdm/patches/source_profile_in_Xsession.diff | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/system/lxdm/patches/source_profile_in_Xsession.diff b/system/lxdm/patches/source_profile_in_Xsession.diff index 8f19e31284..8d04af8f7c 100644 --- a/system/lxdm/patches/source_profile_in_Xsession.diff +++ b/system/lxdm/patches/source_profile_in_Xsession.diff @@ -1,17 +1,12 @@ -diff -Nur lxdm-0.2.0.orig//data/Xsession lxdm-0.2.0/data/Xsession ---- lxdm-0.2.0.orig//data/Xsession 2010-04-12 11:49:44.000000000 -0500 -+++ lxdm-0.2.0/data/Xsession 2010-06-26 04:55:43.301983179 -0500 -@@ -2,6 +2,13 @@ +diff -Naur lxdm-20131220_68eacbd.orig/data/Xsession lxdm-20131220_68eacbd/data/Xsession +--- lxdm-20131220_68eacbd.orig/data/Xsession 2013-12-20 02:30:50.000000000 +0100 ++++ lxdm-20131220_68eacbd/data/Xsession 2013-12-30 17:48:52.110723000 +0100 +@@ -9,6 +9,8 @@ + LXSESSION=/usr/bin/startlxde + fi - # use bash for "exec -l", howto run login shell by /bin/sh ? ++[ -f /etc/profile ] && . /etc/profile ++[ -f ~/.profile ] && . ~/.profile + [ -f /etc/xprofile ] && . /etc/xprofile + [ -f ~/.xprofile ] && . ~/.xprofile -+# First read /etc/profile and .profile -+test -f /etc/profile && . /etc/profile -+test -f "$HOME/.profile" && . "$HOME/.profile" -+# Second read /etc/xprofile and .xprofile for X specific setup -+test -f /etc/xprofile && . /etc/xprofile -+test -f "$HOME/.xprofile" && . "$HOME/.xprofile" -+ - if [ $# -eq 1 -a -n "$1" ]; then - LXSESSION=$1 - else |