From 1ff0b15658b9a06aba3aaa972c9b32cdec558206 Mon Sep 17 00:00:00 2001 From: Billy Junaidi Date: Thu, 12 Dec 2024 11:33:35 +0800 Subject: [PATCH] Move mkdir to top of install.sh (#168) --- public/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/install.sh b/public/install.sh index 733aabb..cd06645 100755 --- a/public/install.sh +++ b/public/install.sh @@ -6,6 +6,8 @@ GREEN='\033[1;32m' ORANGE='\033[1;33m' NC='\033[0m' # No Color +[ -d $NEXUS_HOME ] || mkdir -p $NEXUS_HOME + while [ -z "$NONINTERACTIVE" ] && [ ! -f "$NEXUS_HOME/prover-id" ]; do read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn