Update update.sh

This commit is contained in:
qkqpttgf
2020-04-02 16:33:55 +08:00
committed by GitHub
parent a6211d3382
commit 0a78999463
+4 -2
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'