diff --git a/public/install.sh b/public/install.sh index d9c27bc..c7c8bab 100755 --- a/public/install.sh +++ b/public/install.sh @@ -2,18 +2,22 @@ rustc --version || curl https://sh.rustup.rs -sSf | sh NEXUS_HOME=$HOME/.nexus -CLI_ZIP=/tmp/nexus-network-api.zip -curl -L --verbose "https://docs.google.com/uc?export=download&id=1kcbEeKpVEyvIqL-_cgR5sYdZe_fOEPs6" > $CLI_ZIP -if [ -d "$NEXUS_HOME" ]; then - echo "$NEXUS_HOME exists. Updating."; - (cd $NEXUS_HOME && rm -rf network-api && unzip $CLI_ZIP) - # TODO: Once GitHub repo is public, do this instead - # (cd $NEXUS_HOME && git pull) + +while true; do + read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn