1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00
This commit is contained in:
ericgaspar 2022-04-01 13:33:10 +02:00
parent 30a3023d3d
commit 8f8549b594
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 6 deletions

View file

@ -63,7 +63,7 @@ echo "Handling asset at $asset_url"
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
# Leave $src empty to ignore the asset
case $asset_url in
*"komga-"*".jar"*)
*"komga-"*".jar")
src="app"
;;
*)
@ -86,8 +86,8 @@ checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
rm -rf $tempdir
# Get extension
if [[ $filename == *.tar.gz ]]; then
extension=tar.gz
if [[ $filename == *.jar ]]; then
extension=jar
else
extension=${filename##*.}
fi

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/gotson/komga/releases/download/v0.153.2/komga-0.153.2.jar.sha256
SOURCE_SUM=f77ebf983e8760c22c178f52abb2fbdf832dc35835b709032ff0b3fed51038b8
SOURCE_URL=https://github.com/gotson/komga/releases/download/v0.153.2/komga-0.153.2.jar
SOURCE_SUM=0473721843dd31ad293eef05eb5b8213e538012713be6e31d8988874bdbb5abe
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=sha256
SOURCE_FORMAT=jar
SOURCE_IN_SUBDIR=false
SOURCE_EXTRACT=false
SOURCE_FILENAME=komga.jar