mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
ql bot移除自动更新远程仓库
This commit is contained in:
parent
26d986d4a8
commit
687afce245
|
@ -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 "\nbot依赖安装成功...\n"
|
||||||
|
|
||||||
echo -e "2、下载bot所需文件...\n"
|
echo -e "2、下载bot所需文件...\n"
|
||||||
if [ -d ${repo_path}/.git ]; then
|
if [ ! -d ${repo_path}/.git ]; then
|
||||||
reset_romote_url ${repo_path} "${url}"
|
|
||||||
git_pull_scripts ${repo_path}
|
|
||||||
else
|
|
||||||
rm -rf ${repo_path}
|
rm -rf ${repo_path}
|
||||||
git_clone_scripts ${url} ${repo_path} "main"
|
git_clone_scripts ${url} ${repo_path} "main"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user