diff --git a/shell/git_diy.sh b/shell/git_diy.sh index e1f3e7ef..839c6fe8 100755 --- a/shell/git_diy.sh +++ b/shell/git_diy.sh @@ -32,7 +32,7 @@ mkdir -p ${diyscriptsdir} if [ ! -d "$diyscriptsdir/${author}_${repo}" ]; then echo -e "${author}本地仓库不存在,从gayhub拉取ing..." - cd ${diyscriptsdir} && git clone https://github.com.cnpmjs.org/${author}/${repo}.git ${author}_${repo} + cd ${diyscriptsdir} && git clone https://ghproxy.com/https://github.com/${author}/${repo} ${author}_${repo} gitpullstatus=$? [ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕" [ $gitpullstatus -ne 0 ] && echo -e "${author}本地仓库拉取失败,请检查!" && exit 0 diff --git a/shell/git_pull.sh b/shell/git_pull.sh index 75b8d684..2d2629db 100755 --- a/shell/git_pull.sh +++ b/shell/git_pull.sh @@ -30,8 +30,8 @@ ContentNewTask=$ShellDir/new_task ContentDropTask=$ShellDir/drop_task SendVersion=$ShellDir/send_version isTermux=$ANDROID_RUNTIME_ROOT$ANDROID_ROOT -ShellURL=https://github.com.cnpmjs.org/whyour/qinglong -ScriptsURL=https://github.com.cnpmjs.org/gossh520/jd_scripts +ShellURL=https://ghproxy.com/https://github.com/whyour/qinglong +ScriptsURL=https://ghproxy.com/https://github.com/gossh520/jd_scripts Import_Conf() { if [ ! -s $FileConf ]; then