Update update.sh

This commit is contained in:
zq1121734772 2021-06-21 09:45:47 +08:00 committed by GitHub
parent 8184fcfeaf
commit ce2cb278b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ update_qinglong() {
fix_config
[ -f $dir_root/package.json ] && ql_depend_old=$(cat $dir_root/package.json)
reset_romote_url ${dir_root} "${github_proxy_url}https://github.com/whyour/qinglong.git"
reset_romote_url ${dir_root} "${github_proxy_url}"https://github.com/strawferry/qinglong-static.git
git_pull_scripts $dir_root
if [[ $exit_status -eq 0 ]]; then
@ -277,7 +277,7 @@ update_qinglong() {
echo -e "\n更新$dir_root失败,请检查原因...\n"
fi
local url="${github_proxy_url}https://github.com/whyour/qinglong-static.git"
local url="${github_proxy_url}"https://github.com/strawferry/qinglong-static.git
if [ -d ${ql_static_repo}/.git ]; then
reset_romote_url ${ql_static_repo} ${url}
cd ${ql_static_repo}