X2Go dev team | 15 Feb 11:06 2013

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

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@...>
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
 <at>  <at>  -7,6 +7,8  <at>  <at>  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@...>  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
 <at>  <at>  -180,7 +180,8  <at>  <at>  my $file;
 my  <at> dirs;
  <at> 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( <at> dirs)
 {
 	my $dirname=$_;

hooks/post-receive

Gmane