mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 11:56:08 +08:00
修复 debian 系统内更新源代码分支错误
This commit is contained in:
parent
48d1fba699
commit
2c1e7535b8
|
@ -267,8 +267,8 @@ update_qinglong() {
|
||||||
echo -e "使用 ${mirror} 源更新...\n"
|
echo -e "使用 ${mirror} 源更新...\n"
|
||||||
|
|
||||||
local primary_branch="master"
|
local primary_branch="master"
|
||||||
if [[ "${QL_BRANCH}" == "develop" ]]; then
|
if [[ "${QL_BRANCH}" == "develop" ]] || [[ "${QL_BRANCH}" == "debian" ]] || [[ "${QL_BRANCH}" == "debian-dev" ]]; then
|
||||||
primary_branch="develop"
|
primary_branch="${QL_BRANCH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -cqO "${dir_tmp}/ql.zip" "${downloadQLUrl}/${primary_branch}.zip"
|
wget -cqO "${dir_tmp}/ql.zip" "${downloadQLUrl}/${primary_branch}.zip"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user