[X2Go-Commits] [python-x2go] 01/03: Fix Mac OS recognition
git-admin at x2go.org
git-admin at x2go.org
Wed Jun 22 22:46:07 CEST 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit 8ace8f28ce63b822e155edf2be6c8fe5e2fb5ced
Author: Tomáš Cerha <t.cerha at gmail.com>
Date: Tue Jun 21 12:23:15 2022 +0200
Fix Mac OS recognition
platform.system() actually returns 'Darwin' on Mac OS.
---
x2go/defaults.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x2go/defaults.py b/x2go/defaults.py
index 1281c90..8b2b708 100644
--- a/x2go/defaults.py
+++ b/x2go/defaults.py
@@ -81,7 +81,7 @@ elif X2GOCLIENT_OS == "Linux":
SUPPORTED_MIMEBOX = True
SUPPORTED_TELEKINESIS = True
-elif X2GOCLIENT_OS == "Mac":
+elif X2GOCLIENT_OS == "Darwin":
ROOT_DIR = '/'
ETC_DIR = os.path.join(ROOT_DIR, 'etc', 'x2goclient')
import getpass
--
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