From f54dd83595d99d8c96371ef58a243ffb2eea873c Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 26 May 2020 14:05:28 -0500 Subject: [PATCH] Creates blank configuration --- gravity-sync.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 8707301..34ad571 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -580,10 +580,13 @@ case $# in done else - echo -e "\r${FAIL} ${MESSAGE}" - MESSAGE="${CONFIG_FILE} Missing" echo -e "${INFO} ${MESSAGE}" + + MESSAGE="Creating New Configuration" + echo -en "${STAT} ${MESSAGE}" + cp $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}.example $HOME/${LOCAL_FOLDR}/${CONFIG_FILE} + error_validate exit_nochange fi