mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
git clone使用ghproxy代理 #7
This commit is contained in:
parent
0333365762
commit
2a02111644
|
@ -32,7 +32,7 @@ mkdir -p ${diyscriptsdir}
|
||||||
|
|
||||||
if [ ! -d "$diyscriptsdir/${author}_${repo}" ]; then
|
if [ ! -d "$diyscriptsdir/${author}_${repo}" ]; then
|
||||||
echo -e "${author}本地仓库不存在,从gayhub拉取ing..."
|
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=$?
|
||||||
[ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕"
|
[ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕"
|
||||||
[ $gitpullstatus -ne 0 ] && echo -e "${author}本地仓库拉取失败,请检查!" && exit 0
|
[ $gitpullstatus -ne 0 ] && echo -e "${author}本地仓库拉取失败,请检查!" && exit 0
|
||||||
|
|
|
@ -30,8 +30,8 @@ ContentNewTask=$ShellDir/new_task
|
||||||
ContentDropTask=$ShellDir/drop_task
|
ContentDropTask=$ShellDir/drop_task
|
||||||
SendVersion=$ShellDir/send_version
|
SendVersion=$ShellDir/send_version
|
||||||
isTermux=$ANDROID_RUNTIME_ROOT$ANDROID_ROOT
|
isTermux=$ANDROID_RUNTIME_ROOT$ANDROID_ROOT
|
||||||
ShellURL=https://github.com.cnpmjs.org/whyour/qinglong
|
ShellURL=https://ghproxy.com/https://github.com/whyour/qinglong
|
||||||
ScriptsURL=https://github.com.cnpmjs.org/gossh520/jd_scripts
|
ScriptsURL=https://ghproxy.com/https://github.com/gossh520/jd_scripts
|
||||||
|
|
||||||
Import_Conf() {
|
Import_Conf() {
|
||||||
if [ ! -s $FileConf ]; then
|
if [ ! -s $FileConf ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user