Skip to content

Commit

Permalink
qbittorrent: fix download endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Jan 16, 2024
1 parent 016125b commit 7500246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/qbittorrent/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ qbittorrent_host_branch: libtorrent1
qbittorrent_host_specific_version: ""

# Lookup variables
qbittorrent_host_download_endpoint: "https://github.com/userdocs/qbittorrent-nox-static/releases/download/"
qbittorrent_host_download_endpoint: "{{ 'https://github.com/userdocs/qbittorrent-nox-static/releases/download/'
if qbittorrent_host_branch != 'legacy'
else 'https://github.com/userdocs/qbittorrent-nox-static-legacy/releases/download/' }}"
qbittorrent_host_download_url: "{{ qbittorrent_host_download_endpoint }}{{ qbittorrent_host_specific_version
if (qbittorrent_host_specific_version | length > 0)
else qbittorret_release_version.stdout }}/x86_64-qbittorrent-nox"
Expand Down

0 comments on commit 7500246

Please sign in to comment.