From 603fae6072593a6af4a71792f9ed927ab8dba8ca Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=ADfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/DlHelper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/sh/DlHelper.sh b/Scripts/sh/DlHelper.sh index d190aa2..0f0ad8b 100644 --- a/Scripts/sh/DlHelper.sh +++ b/Scripts/sh/DlHelper.sh @@ -13,7 +13,7 @@ Help=$dir_git/Scripts/sh/Helpcode2\.8 ) | docker exec -i telegram-cli telegram-cli -N cd $dir_git -git fetch --all && git reset --hard origin/master && git pull +git fetch --all && git reset --hard origin/main && git pull find $dir_sync -name "*code\.sh" -exec mv {} $Help/code\.sh \; find $dir_sync -name "*task_before\.sh" -exec mv {} $Help/task_before\.sh \; find $dir_sync -name "*config_sample\.sh" -exec mv {} $Help/config_sample\.sh \;