mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 08:26:06 +08:00
ql bot移除自动更新远程仓库
This commit is contained in:
parent
0141cd81c4
commit
f5ecb81bad
|
@ -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