mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
ql bot添加重置remote地址
This commit is contained in:
@@ -12,6 +12,7 @@ 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
|
||||
rm -rf ${repo_path}
|
||||
|
||||
Reference in New Issue
Block a user