Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-21 13:48:23 -05:00
parent a1764c4395
commit 43c9c81b6c

View File

@ -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