[X2Go-Commits] [x2goserver] 01/02: x2goserver/bin/x2goruncommand: whitespace only.
git-admin at x2go.org
git-admin at x2go.org
Mon Jun 20 03:59:46 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 38f0799afdfaea5cf7181a4014ae689aefcedcbc
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Feb 25 15:21:04 2016 +0100
x2goserver/bin/x2goruncommand: whitespace only.
Cherry-picked from release/4.0.1.x branch.
---
debian/changelog | 1 +
x2goserver/bin/x2goruncommand | 72 ++++++++++++++++++++---------------------
2 files changed, 37 insertions(+), 36 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index be201bb..8d3a888 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -258,6 +258,7 @@ x2goserver (4.0.1.20-0x2go1) UNRELEASED; urgency=low
(unless talking about high-bandwidth links) and more importantly recent
OpenSSH server versions seem to disable the Blowfish cipher by default,
leading to errors like "Connection reset by peer."
+ - x2goserver/bin/x2goruncommand: whitespace only.
* x2goserver.spec:
- Add sudo and logcheck as BuildRequires and Requires. Don't own
directories that are owned by sudo and logcheck. Logcheck is not
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 43b4064..9136bc7 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -72,8 +72,8 @@ export SSH_AUTH_SOCK="$X2GOSSH_AUTH_SOCK"
NX_XINERAMA_LIBS="$(x2gopath xinerama)"
NX_LIBS="$(x2gopath nx-x11)"
test -n "$LD_LIBRARY_PATH" && \
- LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS:$LD_LIBRARY_PATH" || \
- LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS"
+ LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS:$LD_LIBRARY_PATH" || \
+ LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS"
"$X2GO_LIB_PATH/x2gosyslog" "$0" "debug" "exporting LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
@@ -99,33 +99,33 @@ fi
# To make the GNOME variants start up properly on Ubuntu, we have to make the following differentiations
# Ubuntu 10.10 and earlier (maverick):
-# GNOME -> gnome-session
-# (would start GNOME2)
+# GNOME -> gnome-session
+# (would start GNOME2)
# Ubuntu 11.04 (natty):
-# GNOME -> gnome-session --session=2d-gnome
-# UNITY -> gnome-session --session=2d-ubuntu
-# (GNOME3 based desktop shells)
+# GNOME -> gnome-session --session=2d-gnome
+# UNITY -> gnome-session --session=2d-ubuntu
+# (GNOME3 based desktop shells)
# Ubuntu 11.10 (oneiric) & 12.04 (precise):
-# GNOME -> gnome-session --session=gnome-fallback
-# UNITY -> gnome-session --session=ubuntu-2d
-# (GNOME3 based desktop shells)
+# GNOME -> gnome-session --session=gnome-fallback
+# UNITY -> gnome-session --session=ubuntu-2d
+# (GNOME3 based desktop shells)
# Ubuntu 12.10 (quantal):
-# GNOME -> gnome-session --session=gnome-fallback
-# UNITY -> gnome-session --session=ubuntu
-# (GNOME3 based desktop shells)
+# GNOME -> gnome-session --session=gnome-fallback
+# UNITY -> gnome-session --session=ubuntu
+# (GNOME3 based desktop shells)
# Ubuntu 13.10 (raring) and later:
-# GNOME -> gnome-session --session=gnome-flashback
-# UNITY -> gnome-session --session=ubuntu
-# (GNOME3 based desktop shells)
-# Additionally, $GTK_MODULES must include "unity-gtk-module".
-# $GTK_MODULES does not need tha value for any other distro
-# or any earlier release of Ubuntu.
+# GNOME -> gnome-session --session=gnome-flashback
+# UNITY -> gnome-session --session=ubuntu
+# (GNOME3 based desktop shells)
+# Additionally, $GTK_MODULES must include "unity-gtk-module".
+# $GTK_MODULES does not need tha value for any other distro
+# or any earlier release of Ubuntu.
#
-# The logic for launching GNOME should be generic enough
-# to work with every other distro.
+# The logic for launching GNOME should be generic enough
+# to work with every other distro.
#
-# Also, it appears that some Linux GNOME2 distros need DESKTOP_SESSION="gnome"
-# while others do not.
+# Also, it appears that some Linux GNOME2 distros need DESKTOP_SESSION="gnome"
+# while others do not.
if [ "$cmd" == "GNOME" ] || [ "$cmd" == "gnome-session" ]; then
cmd="/usr/bin/gnome-session"
@@ -137,20 +137,20 @@ if [ "$cmd" == "GNOME" ] || [ "$cmd" == "gnome-session" ]; then
export GTK_MODULES="$GTK_MODULES:unity-gtk-module"
fi
args=" --session=$DESKTOP_SESSION"
- elif [ -e /usr/share/gnome-session/sessions/gnome-flashback.session ]; then
- export DESKTOP_SESSION="gnome-flashback"
- args=" --session=$DESKTOP_SESSION"
- elif [ -e /usr/share/gnome-session/sessions/gnome-fallback.session ]; then
- export DESKTOP_SESSION="gnome-fallback"
- args=" --session=$DESKTOP_SESSION"
- elif [ -e /usr/share/gnome-session/sessions/2d-gnome.session ]; then
- export DESKTOP_SESSION="2d-gnome"
- args=" --session=$DESKTOP_SESSION"
- elif [ "$DISTRIB_ID" == "Ubuntu" ] && [ "$(echo "$DISTRIB_RELEASE <= 10.10" | bc)" == "1" ]; then
- export DESKTOP_SESSION="gnome"
+ elif [ -e /usr/share/gnome-session/sessions/gnome-flashback.session ]; then
+ export DESKTOP_SESSION="gnome-flashback"
+ args=" --session=$DESKTOP_SESSION"
+ elif [ -e /usr/share/gnome-session/sessions/gnome-fallback.session ]; then
+ export DESKTOP_SESSION="gnome-fallback"
+ args=" --session=$DESKTOP_SESSION"
+ elif [ -e /usr/share/gnome-session/sessions/2d-gnome.session ]; then
+ export DESKTOP_SESSION="2d-gnome"
+ args=" --session=$DESKTOP_SESSION"
+ elif [ "$DISTRIB_ID" == "Ubuntu" ] && [ "$(echo "$DISTRIB_RELEASE <= 10.10" | bc)" == "1" ]; then
+ export DESKTOP_SESSION="gnome"
elif cat /etc/debian_version | egrep "^(squeeze|6\.).*" >/dev/null; then
- export DESKTOP_SESSION="gnome"
- fi
+ export DESKTOP_SESSION="gnome"
+ fi
elif ([ "$cmd" == "UNITY" ] || [ "$cmd" == "unity" ]); then
cmd="/usr/bin/gnome-session"
--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list