From 9189f901c6c67c05bcb3323fa639d43bd514c088 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 20 Oct 2020 02:41:17 +0000 Subject: [PATCH] 3.1.0(7) --- prep/gs-install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/prep/gs-install.sh b/prep/gs-install.sh index 81c2e7e..8c483b3 100644 --- a/prep/gs-install.sh +++ b/prep/gs-install.sh @@ -169,6 +169,7 @@ then CROSSCOUNT=$((CROSSCOUNT+1)) fi +# echo -e "[${YELLOW}i${NC}] ${YELLOW}Target Folder Analysis${NC}" if [ "$GS_INSTALL" == "secondary" ] then if [ "$LOCALADMIN" == "sudo" ] @@ -177,12 +178,18 @@ then if [ "$THISDIR" != "$HOME" ] then echo -e "[${RED}✗${NC}] ${CURRENTUSER} Must Install to $HOME" - echo -e "[${PURPLE}!${NC}] ${PURPLE}Use root account to install to $THISDIR${NC}" + echo -e "[${PURPLE}!${NC}] ${PURPLE}Use 'root' Account to Install in $THISDIR${NC}" CROSSCOUNT=$((CROSSCOUNT+1)) fi fi fi +if [ ! -d gravity-sync ] +then + echo -e "[${RED}✗${NC}] Folder gravity-sync Already Exists" + CROSSCOUNT=$((CROSSCOUNT+1)) +fi + echo -e "[${YELLOW}i${NC}] ${YELLOW}Status Report${NC}" # Combine Outputs if [ "$CROSSCOUNT" != "0" ]