mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: download toggle
This commit is contained in:
1 parent
dc4e418540
commit
66d7d16c36
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -702,8 +702,8 @@ format_version_url(){
|
||||
}
|
||||
download_new_version(){
|
||||
local version_url="$(format_version_url)"
|
||||
mv "$src_path" "$src_path.old"
|
||||
curl -Ls "$version_url" > "$src_path"
|
||||
curl -L "$version_url" > /tmp/dzg.new
|
||||
mv /tmp/dzg.new "$src_path"
|
||||
rc=$?
|
||||
if [[ $rc -eq 0 ]]; then
|
||||
dl_changelog
|
||||
|
||||
Reference in new issue
Block a user