[X2Go-Commits] x2goserver.git - build-main (branch) updated: 4.0.0.1-8-g966ad0d

X2Go dev team git-admin at x2go.org
Wed Dec 4 06:18:30 CET 2013


The branch, build-main has been updated
       via  966ad0d5852bf6e543b1686d45d5685d6bf6f094 (commit)
      from  ee84314f340b3227cc42e1ea5b17fd6e4a456732 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                 |    4 +++-
 x2goserver-xsession/etc/Xsession |    8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index c2434fe..f8d9ea3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 x2goserver (4.0.0.2-0~x2go1) UNRELEASED; urgency=low
 
-  * Continue development...
+  [ Matthew L. Dailey ]
+  * New upstream version (4.0.0.2):
+    - Do parse profile/xprofile files in X2Go's Xsession file. (Fixes: #149).
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 25 Mar 2013 22:34:11 +0100
 
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
index 9fd5104..94c841e 100755
--- a/x2goserver-xsession/etc/Xsession
+++ b/x2goserver-xsession/etc/Xsession
@@ -49,6 +49,14 @@ internal_errormsg () {
            "<x2go-dev at lists.x2go.org>."
 }
 
+# Load profile
+for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
+    if [ -f "$file" ]; then
+        echo "Loading profile from $file";
+        . "$file"
+    fi
+done
+
 # initialize variables for use by all session scripts
 
 OPTIONFILE=/etc/x2go/Xsession.options


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list