From 687afce245de8ef1032dabaa932e6e78137cf79f Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Fri, 24 Sep 2021 23:22:40 +0800 Subject: [PATCH] =?UTF-8?q?ql=20bot=E7=A7=BB=E9=99=A4=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=BF=9C=E7=A8=8B=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/bot.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/shell/bot.sh b/shell/bot.sh index f8e0c9e2..d0e83a4a 100644 --- a/shell/bot.sh +++ b/shell/bot.sh @@ -11,10 +11,7 @@ apk --no-cache add -f zlib-dev gcc jpeg-dev python3-dev musl-dev freetype-dev echo -e "\nbot依赖安装成功...\n" echo -e "2、下载bot所需文件...\n" -if [ -d ${repo_path}/.git ]; then - reset_romote_url ${repo_path} "${url}" - git_pull_scripts ${repo_path} -else +if [ ! -d ${repo_path}/.git ]; then rm -rf ${repo_path} git_clone_scripts ${url} ${repo_path} "main" fi