mirror of
https://github.com/aclist/dztui.git
synced 2025-09-05 21:22:26 +02:00
fix: url syntax
This commit is contained in:
parent
12b1c392df
commit
62e6da2abb
2 changed files with 5 additions and 3 deletions
|
@ -74,7 +74,7 @@ repo="dztui"
|
|||
#2024-12-12
|
||||
gh_prefix="https://github.com"
|
||||
issues_url="$gh_prefix/$author/$repo/issues"
|
||||
url_prefix="https://codeberg.org/$author/$repo/branch"
|
||||
url_prefix="https://codeberg.org/$author/$repo/raw/branch"
|
||||
stable_url="$url_prefix/dzgui"
|
||||
testing_url="$url_prefix/testing"
|
||||
releases_url="https://codeberg.org/$author/$repo/releases/download/browser"
|
||||
|
@ -854,6 +854,8 @@ dl_changelog(){
|
|||
local file="CHANGELOG.md"
|
||||
[[ $branch == "stable" ]] && mdbranch="dzgui"
|
||||
[[ $branch == "testing" ]] && mdbranch="testing"
|
||||
#TODO: this is hardcoded
|
||||
#2024-12-12
|
||||
local md="https://codeberg.org/$author/$repo/raw/branch/${mdbranch}/$file"
|
||||
curl -Ls "$md" > "$state_path/$file"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue