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
|
exit_nochange
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# beta)
|
dev)
|
||||||
# TASKTYPE='BETA'
|
TASKTYPE='DEV'
|
||||||
# echo_good
|
echo_good
|
||||||
|
|
||||||
# MESSAGE="${TASKTYPE} Requested"
|
if [ -f $HOME/${LOCAL_FOLDR}/dev ]
|
||||||
# echo_info
|
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
|
||||||
|
|
||||||
# beta_gs
|
MESSAGE="Please run ${YELLOW}update${NC}"
|
||||||
# exit_nochange
|
echo_info
|
||||||
# ;;
|
|
||||||
|
exit_withchange
|
||||||
|
;;
|
||||||
|
|
||||||
logs)
|
logs)
|
||||||
TASKTYPE='LOGS'
|
TASKTYPE='LOGS'
|
||||||
|
Loading…
Reference in New Issue
Block a user