1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 05:12:36 +01:00

fix: control flow

This commit is contained in:
aclist 2024-01-12 15:26:33 +09:00
parent 0fd5cfdc8b
commit 38e1998721
2 changed files with 2 additions and 2 deletions

View file

@ -530,7 +530,7 @@ fetch_helpers_by_sum(){
["ui.py"]="8c430f1465995cbd98f4ad8e2580a79d"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="2a308d08349c1cdd2dfff3830d49cd18"
["funcs"]="c6a6ae4d004245e34982078ec006ef3a"
)
local author="aclist"
local repo="dztui"

View file

@ -706,6 +706,7 @@ download_new_version(){
curl -Ls "$version_url" > "$src_path"
rc=$?
if [[ $rc -eq 0 ]]; then
dl_changelog
logger INFO "Wrote new version to $src_path"
chmod +x "$src_path"
touch "${config_path}.unmerged"
@ -718,7 +719,6 @@ download_new_version(){
logger WARN "curl failed to fetch new version. Rolling back"
return 1
fi
dl_changelog
}
dl_changelog(){
local mdbranch