[X2go-Commits] x2goserver.git - release/4.0.0.x (branch) updated: 4.0.0.0-6-gc12aa8e

X2Go dev team git-admin at x2go.org
Fri Feb 15 11:06:14 CET 2013


The branch, release/4.0.0.x has been updated
       via  c12aa8e82a53f041c64a8f8de68abba2e1108d35 (commit)
      from  df45ea1b2327e0ec7672234a7370002fc8347529 (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 -----------------------------------------------------------------
commit c12aa8e82a53f041c64a8f8de68abba2e1108d35
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Feb 15 11:08:07 2013 +0100

    Allow for deploying X2Go Published Applications system-wide on a per-user basis (in /etc/x2go/applications-per-user/<username>).

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog           |    2 ++
 x2goserver/bin/x2gogetapps |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 2625e86..ed4ee9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ x2goserver (4.0.0.1-0~x2go1) UNRELEASED; urgency=low
   [ Matthew L. Dailey ]
   * New upstream version (4.0.0.1):
     - Fix command/version detection for GNOME/Unity on Ubuntu. (Fixes: #105).
+    - Allow for deploying X2Go Published Applications system-wide on a
+      per-user basis (in /etc/x2go/applications-per-user/<username>).
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 11 Feb 2013 11:42:32 +0100
 
diff --git a/x2goserver/bin/x2gogetapps b/x2goserver/bin/x2gogetapps
index dbcd8c1..8414daa 100755
--- a/x2goserver/bin/x2gogetapps
+++ b/x2goserver/bin/x2gogetapps
@@ -180,7 +180,8 @@ my $file;
 my @dirs;
 @dirs[0]="/etc/x2go/applications";
 my ($name, $pass, $uid, $gid, $quota, $comment, $gcos, $homedir, $shell, $expire) = getpwnam(getlogin || getpwuid($<));
- at dirs[1]="$homedir/.x2go/applications";
+ at dirs[1]="/etc/x2go/applications-per-user/$name";
+ at dirs[2]="$homedir/.x2go/applications";
 foreach(@dirs)
 {
 	my $dirname=$_;


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