mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-26 00:46:07 +08:00
修复diy脚本语法
This commit is contained in:
parent
c2964ec1bb
commit
bdfec42652
|
@ -35,6 +35,7 @@ if [ ! -d "$diyscriptsdir/${author}_${repo}" ]; then
|
||||||
local url="https://ghproxy.com/https://github.com/${author}/${repo}"
|
local url="https://ghproxy.com/https://github.com/${author}/${repo}"
|
||||||
if [ $author == "monk-coder" ] && [ $repo == "dust" ]; then
|
if [ $author == "monk-coder" ] && [ $repo == "dust" ]; then
|
||||||
url="git@github.com:monk-coder/dust.git"
|
url="git@github.com:monk-coder/dust.git"
|
||||||
|
fi
|
||||||
cd ${diyscriptsdir} && git clone $url ${author}_${repo}
|
cd ${diyscriptsdir} && git clone $url ${author}_${repo}
|
||||||
gitpullstatus=$?
|
gitpullstatus=$?
|
||||||
[ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕"
|
[ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user