From 0a78999463db0fcfa5d501935b982bce7557a571 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 2 Apr 2020 16:33:55 +0800 Subject: [PATCH] Update update.sh --- update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index cc34856..23cc7c2 100644 --- a/update.sh +++ b/update.sh @@ -47,12 +47,14 @@ do fi done +if [ g"$install" == g"1" -a g"$update" == g"1" ]; then + echo "Both install & update, exit" + exit +fi if [ g"$install" != g"1" -a g"$update" != g"1" ]; then echo "Not install & Not update, exit" exit fi -#echo $branch -#echo $install gitsource='https://github.com/qkqpttgf/OneManager-php'