mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-05 00:04:32 +08:00
修改git_diy脚本仓库路径
This commit is contained in:
+1
-1
@@ -23,7 +23,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/${author}/${repo}.git ${author}_${repo}
|
cd ${diyscriptsdir} && git clone https://github.com.cnpmjs.org/${author}/${repo}.git ${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
|
||||||
|
|||||||
Reference in New Issue
Block a user