From 71fd37feb67525e609eb12517fba6c5b73455371 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:00:05 +0900 Subject: [PATCH] chore: comments --- dzgui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index 60b3c01..3972630 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -315,11 +315,13 @@ check_version(){ fi } download_new_version(){ + # function differs slightly in helper file due to return codes local version_url="$(format_version_url)" mv "$src_path" "$src_path.old" 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" @@ -332,7 +334,6 @@ download_new_version(){ fdialog "Failed to download the new version. Restoring old version" return 1 fi - dl_changelog } prompt_dl(){ _text(){