Change boostrap to git-install and install git if not installed
This commit is contained in:
parent
465ae47d3e
commit
a8dfaf6af8
|
@ -31,7 +31,7 @@ It's using:
|
|||
## Installation
|
||||
|
||||
```
|
||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/bootstrap_astroport.sh | bash && cd astroport
|
||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/git-install.sh | bash && cd astroport
|
||||
```
|
||||
|
||||
**WARNING: This is an early stage develepement, use it with great care!**
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
[[ $(basename "$PWD") == "astroport" ]] && echo "DO NOT EXECUTE THIS SCRIPT INSIDE ASTROPORT FOLDER!" && exit 1
|
||||
[[ -d astroport ]] && rm -rf astroport && echo "astroport folder has been deleted."
|
||||
|
||||
[[ -z $(which git) ]] && echo "installation de git..." && sudo apt install git
|
||||
|
||||
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000 2<&1)
|
||||
if [[ "$isp2plegal" =~ "(?) open" ]]; then
|
||||
isp2plegalbool=true
|
Loading…
Reference in New Issue