[X2Go-Commits] [live-build-x2go] 04/18: targetusername contents were swapped

git-admin at x2go.org git-admin at x2go.org
Wed Jan 24 18:08:45 CET 2018


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

x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.

commit 6d130c05632a4770b8713998404e2e8511a509f6
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Wed Dec 6 20:15:54 2017 +0100

    targetusername contents were swapped
---
 config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia b/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
index f840b62..a56d134 100755
--- a/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
+++ b/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
@@ -31,10 +31,10 @@ GetSSHClientKeysFromMedia ()
 			# No Match? Then we're a regular TCE-Live.
 			if [ -z "$USERHOME" ] ; then
 				USERHOME=$(getent passwd 1000 | awk -F':' '{ print $6 }')
-				TARGETUSERNAME="x2gothinclient"
+				TARGETUSERNAME=$(getent passwd 1000 | awk -F':' '{ print $1 }')
 			else
 				# let's not forget to set the target user name if we're no MATE-MiniDesktop
-				TARGETUSERNAME=$(getent passwd 1000 | awk -F':' '{ print $1 }')
+				TARGETUSERNAME="x2gothinclient"
 			fi
 
 			# nudge automounter, in case device was already plugged in at power-up

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


More information about the x2go-commits mailing list