mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add dev mode
This commit is contained in:
parent
75252a83f4
commit
99cc5428eb
@ -1113,16 +1113,28 @@ case $# in
|
||||
exit_nochange
|
||||
;;
|
||||
|
||||
# beta)
|
||||
# TASKTYPE='BETA'
|
||||
# echo_good
|
||||
|
||||
# MESSAGE="${TASKTYPE} Requested"
|
||||
# echo_info
|
||||
dev)
|
||||
TASKTYPE='DEV'
|
||||
echo_good
|
||||
|
||||
# beta_gs
|
||||
# exit_nochange
|
||||
# ;;
|
||||
if [ -f $HOME/${LOCAL_FOLDR}/dev ]
|
||||
then
|
||||
MESSAGE="Enabling ${TASKTYPE}"
|
||||
echo_stat
|
||||
touch $HOME/${LOCAL_FOLDR}/dev
|
||||
error_validate
|
||||
else
|
||||
MESSAGE="Disabling ${TASKTYPE}"
|
||||
echo_stat
|
||||
rm -f $HOME/${LOCAL_FOLDR}/dev
|
||||
error_validate
|
||||
fi
|
||||
|
||||
MESSAGE="Please run ${YELLOW}update${NC}"
|
||||
echo_info
|
||||
|
||||
exit_withchange
|
||||
;;
|
||||
|
||||
logs)
|
||||
TASKTYPE='LOGS'
|
||||
|
Loading…
Reference in New Issue
Block a user