diff --git a/README.md b/README.md index 22d708d..0b03f3c 100644 --- a/README.md +++ b/README.md @@ -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!** diff --git a/bootstrap_astroport.sh b/git-install.sh similarity index 91% rename from bootstrap_astroport.sh rename to git-install.sh index eab294e..41916d6 100755 --- a/bootstrap_astroport.sh +++ b/git-install.sh @@ -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