mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
github仓库更新添加默认
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ update_repo() {
|
||||
|
||||
local repo_path="${dir_repo}/${author}_${repo}"
|
||||
if [ -d ${repo_path}/.git ]; then
|
||||
reset_romote_url ${repo_path} ${url}
|
||||
reset_romote_url ${repo_path} "${github_proxy_url}${url/https:\/\/ghproxy.com\//}"
|
||||
git_pull_scripts ${repo_path}
|
||||
else
|
||||
git_clone_scripts ${url} ${repo_path}
|
||||
|
||||
Reference in New Issue
Block a user