Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- DietPi-Software | Update fallback URLs (yes, the leading "v" was removed from Komga release tags)
  • Loading branch information
MichaIng committed Oct 30, 2023
1 parent fbe2c3e commit 8b2b7c1
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 @@ -7187,7 +7187,7 @@ _EOF_
aDEPS=()
else
local version=$(curl -sSfL 'https://api.github.com/repos/FreshRSS/FreshRSS/releases/latest' | mawk -F\" '/^ *"tag_name": "[^"]*",$/{print $4}')
[[ $version ]] || { version='1.22.0'; G_DIETPI-NOTIFY 1 "Automatic latest FreshRSS version detection failed. Version \"$version\" will be installed as fallback, but a newer version might be available. Please report this at: https://github.com/MichaIng/DietPi/issues"; }
[[ $version ]] || { version='1.22.1'; G_DIETPI-NOTIFY 1 "Automatic latest FreshRSS version detection failed. Version \"$version\" will be installed as fallback, but a newer version might be available. Please report this at: https://github.com/MichaIng/DietPi/issues"; }
Download_Install "https://github.com/FreshRSS/FreshRSS/archive/$version.tar.gz"
G_EXEC mv "FreshRSS-$version" /opt/FreshRSS
fi
Expand Down Expand Up @@ -7577,7 +7577,7 @@ _EOF_
then
Download_Install 'https://github.com/gotson/komga/releases/download/v0.165.0/komga-0.165.0.jar' /mnt/dietpi_userdata/komga/komga.jar
else
local fallback_url='https://github.com/gotson/komga/releases/download/v1.6.4/komga-1.6.4.jar'
local fallback_url='https://github.com/gotson/komga/releases/download/1.7.0/komga-1.7.0.jar'
Download_Install "$(curl -sSfL 'https://api.github.com/repos/gotson/komga/releases/latest' | mawk -F\" '/^ *"browser_download_url": ".*\/komga-[^"\/]*\.jar"$/{print $4}')" /mnt/dietpi_userdata/komga/komga.jar
fi

Expand Down

0 comments on commit 8b2b7c1

Please sign in to comment.