From f17b4be60afe869125ac8d974d389779f492f9b2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 16 Dec 2016 22:08:31 -0500 Subject: [PATCH] shell/ssh/install: use $SERVER envvar --- shell/ssh/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ssh/install b/shell/ssh/install index da10d2ef..37a3d7dd 100755 --- a/shell/ssh/install +++ b/shell/ssh/install @@ -35,7 +35,7 @@ sudo sed -i 's/^#\(AllowTcpForwarding\).*/\1 yes/; ' "$sshconf" # Enable X11 forwarding on desktop PCs (not remotes) -if [[ $OSTYPE == darwin* || -f /etc/arch-release ]]; then +if [[ -z $SERVER ]]; then sudo sed -i 's/^#\(X11Forwarding\).*/\1 yes/; s/^#\(X11DisplayOffset.*\)/\1/; s/^#\(X11UseLocalhost\).*/\1 yes/;