Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- DietPi-Software | Ampache: Update fallback URLs
  • Loading branch information
MichaIng committed Jan 20, 2025
1 parent 7857e8e commit efbeae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -7521,10 +7521,10 @@ _EOF_
# Download: Ampache v7 requires PHP 8.2
if (( $G_DISTRO > 6 ))
then
local fallback_url="https://github.com/ampache/ampache/releases/download/7.1.1/ampache-7.1.1_all_php$PHP_VERSION.zip"
local fallback_url="https://github.com/ampache/ampache/releases/download/7.2.0/ampache-7.2.0_all_php$PHP_VERSION.zip"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/ampache/ampache/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/ampache-[0-9\.]*_all_php$PHP_VERSION.zip\"$/{print \$4}")" ampache
else
local fallback_url="https://github.com/ampache/ampache/releases/download/6.6.5/ampache-6.6.5_all_php$PHP_VERSION.zip"
local fallback_url="https://github.com/ampache/ampache/releases/download/6.6.6/ampache-6.6.6_all_php$PHP_VERSION.zip"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/ampache/ampache/releases' | mawk -F\" "/^ *\"browser_download_url\": \".*\/ampache-[0-9\.]*_all_php$PHP_VERSION.zip\"$/{print \$4}")" ampache
fi

Expand Down

0 comments on commit efbeae1

Please sign in to comment.