mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
fix: control flow
This commit is contained in:
parent
0fd5cfdc8b
commit
38e1998721
2 changed files with 2 additions and 2 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -530,7 +530,7 @@ fetch_helpers_by_sum(){
|
||||||
["ui.py"]="8c430f1465995cbd98f4ad8e2580a79d"
|
["ui.py"]="8c430f1465995cbd98f4ad8e2580a79d"
|
||||||
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
||||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||||
["funcs"]="2a308d08349c1cdd2dfff3830d49cd18"
|
["funcs"]="c6a6ae4d004245e34982078ec006ef3a"
|
||||||
)
|
)
|
||||||
local author="aclist"
|
local author="aclist"
|
||||||
local repo="dztui"
|
local repo="dztui"
|
||||||
|
|
|
@ -706,6 +706,7 @@ download_new_version(){
|
||||||
curl -Ls "$version_url" > "$src_path"
|
curl -Ls "$version_url" > "$src_path"
|
||||||
rc=$?
|
rc=$?
|
||||||
if [[ $rc -eq 0 ]]; then
|
if [[ $rc -eq 0 ]]; then
|
||||||
|
dl_changelog
|
||||||
logger INFO "Wrote new version to $src_path"
|
logger INFO "Wrote new version to $src_path"
|
||||||
chmod +x "$src_path"
|
chmod +x "$src_path"
|
||||||
touch "${config_path}.unmerged"
|
touch "${config_path}.unmerged"
|
||||||
|
@ -718,7 +719,6 @@ download_new_version(){
|
||||||
logger WARN "curl failed to fetch new version. Rolling back"
|
logger WARN "curl failed to fetch new version. Rolling back"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
dl_changelog
|
|
||||||
}
|
}
|
||||||
dl_changelog(){
|
dl_changelog(){
|
||||||
local mdbranch
|
local mdbranch
|
||||||
|
|
Loading…
Reference in a new issue