From 43c9c81b6ca9ab986fc8800dacd56bea982132e5 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 21 May 2020 13:48:23 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 5c40acf..834c540 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -37,9 +37,12 @@ NC='\033[0m' # print title # echo -e "${GREEN}Gravity Sync ${VERSION}${NC}" +echo -e "${CYAN}Validating configuration${NC}" + +# check to see if logging/backup directory is available if [ -d ~/${LOCAL_FOLDR} ] then - + echo -e "${GREEN}Success${NC}: Required directory ~/{LOCAL_FOLDR} is present" else echo -e "${RED}Failure${NC}: Required directory ~/{LOCAL_FOLDR} is missing" exit