Skip to content

Commit

Permalink
v9.1
Browse files Browse the repository at this point in the history
- DietPi-Software | Komga: Update fallback URL
  • Loading branch information
MichaIng committed Jan 23, 2024
1 parent 1bf981d commit 9757e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -7406,11 +7406,12 @@ _EOF_

if To_Install 179 komga # Komga
then
# Komga v1 requires Java >=17: https://komga.org/blog/prepare-v1/
if (( $G_HW_ARCH == 1 ))
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/1.10.2/komga-1.10.2.jar'
local fallback_url='https://github.com/gotson/komga/releases/download/1.10.3/komga-1.10.3.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 9757e45

Please sign in to comment.