Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- DietPi-Software | Navidrome: Update for changed download URLs with latest release
  • Loading branch information
MichaIng committed Nov 17, 2023
1 parent 550ce09 commit e2aab64
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6345,11 +6345,11 @@ _EOF_
1) local arch='armv6';;
2) local arch='armv7';;
3) local arch='arm64';;
*) local arch='x86_64';;
*) local arch='amd64';;
esac

local fallback_url="https://github.com/navidrome/navidrome/releases/download/v0.49.3/navidrome_0.49.3_Linux_$arch.tar.gz"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/navidrome/navidrome/releases/latest' | mawk -F\" "/\"browser_download_url\": .*\/navidrome_[0-9.]*_Linux_$arch\.tar\.gz\"/{print \$4}")" /opt/navidrome
local fallback_url="https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_$arch.tar.gz"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/navidrome/navidrome/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/navidrome_[0-9.]*_linux_$arch\.tar\.gz\"$/{print \$4}")" /opt/navidrome

# Data dir
G_EXEC mkdir -p /mnt/dietpi_userdata/navidrome
Expand Down Expand Up @@ -10099,7 +10099,8 @@ _EOF_

if To_Install 149 nzbget # NZBGet
then
[[ -f '/mnt/dietpi_userdata/nzbget/nzbget.conf' ]] && local reinstall=1 || local reinstall=0
local reinstall=0
[[ -f '/mnt/dietpi_userdata/nzbget/nzbget.conf' ]] && reinstall=1
G_EXEC curl -sSfL 'https://nzbget.net/download/nzbget-latest-bin-linux.run' -o package.run
G_EXEC mkdir -p /mnt/dietpi_userdata/nzbget
G_EXEC_OUTPUT=1 G_EXEC dash package.run --destdir /mnt/dietpi_userdata/nzbget
Expand Down

0 comments on commit e2aab64

Please sign in to comment.