From 40b0fbca6128bd50688ccbfebd04673ea7b8a9a0 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Sun, 19 Jan 2025 12:37:24 +0100 Subject: [PATCH] v9.10 - DietPi-Software | Snapcast: Update fallback URLs --- dietpi/dietpi-software | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index 6b3c21ee25..1016ac421f 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -11596,7 +11596,7 @@ _EOF_ getent passwd snapserver > /dev/null && G_EXEC userdel snapserver else local arch=$(dpkg --print-architecture) - local fallback_url="https://github.com/badaix/snapcast/releases/download/v0.29.0/snapserver_0.29.0-1_${arch}_$G_DISTRO_NAME.deb" + local fallback_url="https://github.com/badaix/snapcast/releases/download/v0.30.0/snapserver_0.30.0-1_${arch}_$G_DISTRO_NAME.deb" Download_Install "$(curl -sSfL 'https://api.github.com/repos/badaix/snapcast/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/snapserver_[^\"\/]*_${arch}_$G_DISTRO_NAME.deb\"/{print \$4}")" # Fix /var/lib/snapserver permissions, just in case Debian's package was previously used, which uses the "_snapserver" user, instead of "snapserver" @@ -11617,7 +11617,7 @@ _EOF_ G_AGI snapclient else local arch=$(dpkg --print-architecture) - local fallback_url="https://github.com/badaix/snapcast/releases/download/v0.29.0/snapclient_0.29.0-1_${arch}_$G_DISTRO_NAME.deb" + local fallback_url="https://github.com/badaix/snapcast/releases/download/v0.30.0/snapclient_0.30.0-1_${arch}_$G_DISTRO_NAME.deb" Download_Install "$(curl -sSfL 'https://api.github.com/repos/badaix/snapcast/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/snapclient_[^\"\/]*_${arch}_$G_DISTRO_NAME.deb\"/{print \$4}")" fi G_EXEC systemctl stop snapclient