Update update.sh

pull/41/head
qkqpttgf 2020-04-02 16:33:55 +08:00 committed by GitHub
parent a6211d3382
commit 0a78999463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -47,12 +47,14 @@ do
fi fi
done 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 if [ g"$install" != g"1" -a g"$update" != g"1" ]; then
echo "Not install & Not update, exit" echo "Not install & Not update, exit"
exit exit
fi fi
#echo $branch
#echo $install
gitsource='https://github.com/qkqpttgf/OneManager-php' gitsource='https://github.com/qkqpttgf/OneManager-php'