mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
add Go to PATH
This commit is contained in:
parent
85b34c0d55
commit
d56417fd03
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ if [ ${goInstalled} -eq 0 ];then
|
|||
export PATH=$PATH:$GOROOT/bin
|
||||
export GOPATH=/usr/local/gocode
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
sudo bash -c "echo 'PATH=\$PATH:/usr/local/gocode/bin/' >> /etc/profile"
|
||||
goInstalled=$(go version 2>/dev/null | grep -c 'go')
|
||||
fi
|
||||
if [ ${goInstalled} -eq 0 ];then
|
||||
|
|
Loading…
Add table
Reference in a new issue