diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index ccb6d07ef0..eb178a2141 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -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 @@ -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