mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
8de355618b
commit
ffd740adc1
@ -146,6 +146,14 @@ function validate_gs_folders {
|
|||||||
echo -e "[${RED}FAIL${NC}] Required ~/${LOCAL_FOLDR} Missing"
|
echo -e "[${RED}FAIL${NC}] Required ~/${LOCAL_FOLDR} Missing"
|
||||||
exit_nochange
|
exit_nochange
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d ~/${LOCAL_FOLDR}/${BACKUP_FOLD} ]
|
||||||
|
then
|
||||||
|
echo -e "[${GREEN}GOOD${NC}] Required ~/${LOCAL_FOLDR}/${BACKUP_FOLD} Located"
|
||||||
|
else
|
||||||
|
echo -e "[${RED}FAIL${NC}] Required ~/${LOCAL_FOLDR}/${BACKUP_FOLD} Missing"
|
||||||
|
exit_nochange
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
## Validate PH Folders
|
## Validate PH Folders
|
||||||
|
Loading…
Reference in New Issue
Block a user