From eb11257b779a6a611a8e77cd3d49ba667ab3e4a3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 Apr 2016 09:29:37 +0100 Subject: [PATCH] Split echoes --- src/freedombone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone b/src/freedombone index f64f87f3..8fbb67f5 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6347,6 +6347,8 @@ function install_gogs { apt-get -y install golang libpam0g-dev if ! grep -q "export GOPATH=/home/git/go" ~/.bashrc; then echo 'export GOPATH=/home/git/go' >> ~/.bashrc + fi + if ! grep -q "systemctl set-environment GOPATH=/home/git/go" ~/.bashrc; then echo 'systemctl set-environment GOPATH=/home/git/go' >> ~/.bashrc fi if [ ! -d $GOPATH ]; then