Reload bashrc

This commit is contained in:
Bob Mottram 2015-09-30 12:35:47 +01:00
parent 469c849d44
commit a7409d0cdc
1 changed files with 1 additions and 1 deletions

View File

@ -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