[X2Go-Commits] [python-x2go] 03/04: x2go/backends/proxy/kdrive.py: Honour X2GOKDRIVECLIENT_BINARY env var if not on MS Windows or Mac OS X.

git-admin at x2go.org git-admin at x2go.org
Thu Jun 20 21:43:15 CEST 2024


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository python-x2go.

commit 2f9fbe8dc9f062012a90d87c0c7f8745c5e57cd6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jan 8 22:32:58 2024 +0100

     x2go/backends/proxy/kdrive.py: Honour X2GOKDRIVECLIENT_BINARY env var if not on MS Windows or Mac OS X.
---
 x2go/backends/proxy/kdrive.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x2go/backends/proxy/kdrive.py b/x2go/backends/proxy/kdrive.py
index 76878ce..30ba773 100644
--- a/x2go/backends/proxy/kdrive.py
+++ b/x2go/backends/proxy/kdrive.py
@@ -71,6 +71,8 @@ class X2GoProxy(base.X2GoProxy):
                 self.PROXY_CMD = join(os.environ['RESOURCEPATH'], 'x2gokdriveclient')
             else:
                 self.PROXY_CMD = join(x2go_abs, 'contrib', 'mac', 'x2gokdriveclient', 'x2gokdriveclient')
+        elif 'X2GOKDRIVECLIENT_BINARY' in os.environ:
+            self.PROXY_CMD = os.environ['X2GOKDRIVECLIENT_BINARY']
         else:
             self.PROXY_CMD = "/usr/bin/x2gokdriveclient"
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git


More information about the x2go-commits mailing list