Bladeren bron

go ipfs directory

Bob Mottram 9 jaren geleden
bovenliggende
commit
3d61f13342
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3
    3
      src/freedombone

+ 3
- 3
src/freedombone Bestand weergeven

@@ -469,7 +469,7 @@ ZERONET_DEFAULT_FORUM_TAGLINE="A decentralized discussion group"
469 469
 ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
470 470
 
471 471
 # https://github.com/ipfs/go-ipfs
472
-IPFS_GO_REPO="github.com/ipfs/go-ipfs/cmd/ipfs"
472
+IPFS_GO_REPO="github.com/ipfs/go-ipfs"
473 473
 IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
474 474
 IPFS_PORT=4001
475 475
 
@@ -9565,7 +9565,7 @@ function install_ipfs {
9565 9565
             CURRENT_IPFS_COMMIT=$(grep "ipfs commit" $COMPLETION_FILE | awk -F ':' '{print $2}')
9566 9566
             if [[ "$CURRENT_IPFS_COMMIT" != "$IPFS_COMMIT" ]]; then
9567 9567
                 cd /home/git/go/src/github.com/ipfs/go-ipfs
9568
-                git_pull $IPFS_REPO $IPFS_COMMIT
9568
+                git_pull $IPFS_GO_REPO $IPFS_COMMIT
9569 9569
                 sed -i "s/ipfs commit.*/ipfs commit:$IPFS_COMMIT/g" $COMPLETION_FILE
9570 9570
                 chown -R git:git /home/git
9571 9571
                 systemctl restart ipfs
@@ -9610,7 +9610,7 @@ function install_ipfs {
9610 9610
         chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.bashrc
9611 9611
     fi
9612 9612
 
9613
-    go get -u $IPFS_GO_REPO
9613
+    go get -u $IPFS_GO_REPO/cmd/ipfs
9614 9614
     if [ ! "$?" = "0" ]; then
9615 9615
         exit 8242
9616 9616
     fi