From d9b8a0bf8e0668f8f8e9e4b2a13d4074c7297d2e Mon Sep 17 00:00:00 2001 From: MichaIng Date: Wed, 16 Oct 2024 16:11:29 +0200 Subject: [PATCH] v9.8 - DietPi-Software | Folding@Home: Resolved an issue where the installation failed. Due to larger changes in Folding@Home v8, v7 will be installed for now, before we find time to implement the needed changes for v8. Many thanks to @cruzadernl for reporting this issue: https://github.com/MichaIng/DietPi/issues/7187 --- CHANGELOG.txt | 1 + dietpi/dietpi-software | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 01a9d2c203..a9bd0e76f9 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,7 @@ Bug fixes: - DietPi-Software | NoMachine: Resolved an issue where the installation failed due to an outdated download URL. Many thanks to @tzvi208 for reporting this issue: https://github.com/MichaIng/DietPi/issues/7198 - DietPi-Software | Raspotify: Resolved an issue where the service failed to start with the latest Raspotify release, since it contains a config, incompatible with the bundles librespot: https://github.com/dtcooper/raspotify/pull/674 - DietPi-Software | Home Assistant: Resolved an issue where the latest Home Assistant version did not start. Many thanks to @whyisthisbroken and others for reporting this issue: https://github.com/MichaIng/DietPi/issues/7231 +- DietPi-Software | Folding@Home: Resolved an issue where the installation failed. Due to larger changes in Folding@Home v8, v7 will be installed for now, before we find time to implement the needed changes for v8. Many thanks to @cruzadernl for reporting this issue: https://github.com/MichaIng/DietPi/issues/7187 As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/MichaIng/DietPi/pull/ADDME diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index fbbadbd0f8..9aeb6eff04 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -4338,8 +4338,9 @@ _EOF_ debconf-set-selections <<< 'fahclient fahclient/passkey string 06c869246e88c00cb05cc4d1758a97f9' # Passkey for user "DietPi" local arch=$(dpkg --print-architecture) - local fallback_url="https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-${arch/amd64/64bit}/v7.6/latest.deb" - Download_Install "$(curl -sSfL 'https://download.foldingathome.org/' | mawk -F\" "/^ *\"url\": \".*\/fahclient_.*_$arch\.deb\"$/{print \$4}")" + local url="https://download.foldingathome.org/releases/v7/public/fahclient/debian-stable-${arch/amd64/64bit}/release" + local fallback_url="$url/fahclient_7.6.21_$arch.deb" + Download_Install "$(curl -sSfL "$url/" | mawk -F\" "/\"fahclient_.*_$arch\.deb\"/{print \"$url/\" \$2}" | sort -Vr | head -1)" # Remove obsolete config + data directories and SysV service + config [[ -d '/var/lib/fahclient' ]] && G_EXEC rm -R /var/lib/fahclient