Skip to content

Commit

Permalink
v9.8
Browse files Browse the repository at this point in the history
- DietPi-Software | ruTorrent: Assure that only v5 is installed, despite v4 LTS version still being released
  • Loading branch information
MichaIng committed Oct 14, 2024
1 parent 2dce8e2 commit 542404d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -8558,6 +8558,7 @@ _EOF_
# - Grab current version
local version=$(curl -sSfL 'https://api.github.com/repos/Novik/ruTorrent/releases/latest' | mawk -F\" '/^ *"tag_name": "[^"]*",$/{print $4}')
[[ $version ]] || { version='v5.0.0'; G_DIETPI-NOTIFY 1 "Automatic latest ruTorrent version detection failed. Version \"$version\" will be installed as fallback, but a newer version might be available. Please report this at: https://github.com/MichaIng/DietPi/issues"; }
[[ $version == 'v5.'* ]] || version='v5.0.0'
Download_Install "https://github.com/Novik/ruTorrent/archive/$version.tar.gz"

# - Reinstall freshly with preserved configs and 3rd party plugins
Expand Down

0 comments on commit 542404d

Please sign in to comment.