Fix install

This commit is contained in:
poka 2020-05-20 03:02:57 +02:00
parent fca6751183
commit 97ae8a7da7
1 changed files with 1 additions and 1 deletions

View File

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