From 3d61f13342ee82297e18392a35b8c90289448704 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Jan 2016 14:37:05 +0000 Subject: [PATCH] go ipfs directory --- src/freedombone | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone b/src/freedombone index f08fcd9d..454a7b1c 100755 --- a/src/freedombone +++ b/src/freedombone @@ -469,7 +469,7 @@ ZERONET_DEFAULT_FORUM_TAGLINE="A decentralized discussion group" ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh" # https://github.com/ipfs/go-ipfs -IPFS_GO_REPO="github.com/ipfs/go-ipfs/cmd/ipfs" +IPFS_GO_REPO="github.com/ipfs/go-ipfs" IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166' IPFS_PORT=4001 @@ -9565,7 +9565,7 @@ function install_ipfs { CURRENT_IPFS_COMMIT=$(grep "ipfs commit" $COMPLETION_FILE | awk -F ':' '{print $2}') if [[ "$CURRENT_IPFS_COMMIT" != "$IPFS_COMMIT" ]]; then cd /home/git/go/src/github.com/ipfs/go-ipfs - git_pull $IPFS_REPO $IPFS_COMMIT + git_pull $IPFS_GO_REPO $IPFS_COMMIT sed -i "s/ipfs commit.*/ipfs commit:$IPFS_COMMIT/g" $COMPLETION_FILE chown -R git:git /home/git systemctl restart ipfs @@ -9610,7 +9610,7 @@ function install_ipfs { chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.bashrc fi - go get -u $IPFS_GO_REPO + go get -u $IPFS_GO_REPO/cmd/ipfs if [ ! "$?" = "0" ]; then exit 8242 fi