summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2002-07-12 21:06:10 +0000
committerGeorge Lebl <jirka@src.gnome.org>2002-07-12 21:06:10 +0000
commit64dd9c68dccec8f411c96d466dd3990e797954c8 (patch)
tree193180f85f1b050b6069b424edb34831ef99baa0
parent37d046fe813f18dd859eb77e8b60974b513efe19 (diff)
downloadgdm-64dd9c68dccec8f411c96d466dd3990e797954c8.tar.gz
source in /etc/profile if it exists. This way we really do get system wide
Fri Jul 12 14:17:54 2002 George Lebl <jirka@5z.com> * daemon/gdm.in: source in /etc/profile if it exists. This way we really do get system wide environment for gdm.
-rw-r--r--ChangeLog5
-rw-r--r--daemon/gdm.in2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b0b17daf..88cbb351 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 12 14:17:54 2002 George Lebl <jirka@5z.com>
+
+ * daemon/gdm.in: source in /etc/profile if it exists. This way we
+ really do get system wide environment for gdm.
+
Fri Jul 12 10:06:23 2002 George Lebl <jirka@5z.com>
* **/*.desktop.in: Add "Encoding=UTF-8"
diff --git a/daemon/gdm.in b/daemon/gdm.in
index 5c54f180..29863612 100644
--- a/daemon/gdm.in
+++ b/daemon/gdm.in
@@ -3,6 +3,8 @@
# 1) we read the standard system env vars
# 2) syadmins/integrators can add their own private options etc...
+test -f /etc/profile && source /etc/profile
+
exec @EXPANDED_BINDIR@/gdm-binary "$@"
# fallback, use PATH