lxdm/lxdm-0.3.0-Xsession-default-profile.patch

16 lines
522 B
Diff
Raw Normal View History

diff -Nru lxdm-0.3.0.orig//data/Xsession lxdm-0.3.0/data/Xsession
--- lxdm-0.3.0.orig//data/Xsession 2010-08-23 16:44:22.000000000 +0200
+++ lxdm-0.3.0/data/Xsession 2011-04-19 22:38:17.945102355 +0200
@@ -2,6 +2,11 @@
# use bash for "exec -l", howto run login shell by /bin/sh ?
+test -f /etc/profile && . /etc/profile
+test -f "$HOME/.profile" && . "$HOME/.profile"
+test -f /etc/xprofile && . /etc/xprofile
+test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
+
if [ $# -eq 1 -a -n "$1" ]; then
LXSESSION=$1
else