Fix install
This commit is contained in:
parent
6738ce8ffa
commit
a7b91e26ba
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
# this ensures the entire script is downloaded #
|
||||
{ # this ensures the entire script is downloaded #
|
||||
MY_PATH="`dirname \"$0\"`" # relative
|
||||
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||
ME="${0##*/}"
|
||||
|
@ -111,7 +111,7 @@ sudo systemctl start ipfs || err "Start IPFS daemon"
|
|||
|
||||
sleep 7
|
||||
|
||||
echo "Peers: " && ipfs swarm peers && sleep 1
|
||||
[[ $(ipfs swarm peers) == "" ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues"
|
||||
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"
|
||||
|
||||
# this ensures the entire script is downloaded #
|
||||
} # this ensures the entire script is downloaded #
|
||||
|
|
|
@ -18,7 +18,7 @@ echo "${c_green}Astroport installer
|
|||
###
|
||||
1. IPFS Swarm Layer$c_"
|
||||
# Full automatic (you trust this git depot)
|
||||
curl -s $gitpath/.install/ipfs_alone.sh | bash # || exit 1
|
||||
curl -s $gitpath/.install/ipfs_alone.sh | bash || exit 1
|
||||
|
||||
# Set environment variables
|
||||
curl -s $gitpath/.install/sys_checkOS.sh noexec | bash || exit 1
|
||||
|
|
Loading…
Reference in New Issue