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