From 97ae8a7da70fa9d54b7c54ff05468587add2204c Mon Sep 17 00:00:00 2001 From: poka Date: Wed, 20 May 2020 03:02:57 +0200 Subject: [PATCH] Fix install --- .install/ipfs_alone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index 05ded71..425f378 100644 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -112,6 +112,6 @@ sudo systemctl start ipfs || err "Start IPFS daemon" sleep 7 echo "Peers: " && ipfs swarm peers && sleep 0.3 -[[ -z $(ipfs swarm peers) ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues" +[[ ! $(ipfs swarm peers) ~= "/ip4/" ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues" } # this ensures the entire script is downloaded #