diff --git a/src/freedombone-meshweb b/src/freedombone-meshweb index 40c2be65..b76f6901 100755 --- a/src/freedombone-meshweb +++ b/src/freedombone-meshweb @@ -27,11 +27,11 @@ function install_ipfs { echo "export GOPATH=/home/$MY_USERNAME/go" >> /home/$MY_USERNAME/.bashrc echo 'export PATH="$GOPATH/bin:$PATH:";' >> /home/$MY_USERNAME/.bashrc chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.bashrc - . ~/.bashrc fi if [ ! -d /home/$MY_USERNAME/go ]; then mkdir /home/$MY_USERNAME/go fi + . /home/$MY_USERNAME/.bashrc go get -u github.com/ipfs/go-ipfs/cmd/ipfs if [ ! "$?" = "0" ]; then exit 8242