1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/audiobookshelf_ynh.git synced 2024-09-03 18:06:19 +02:00

Merge branch 'master' into testing

This commit is contained in:
Navan Chauhan 2022-10-18 21:28:39 -06:00 committed by GitHub
commit 823df9cf73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,11 +49,14 @@ fi
# UPDATE SOURCE FILES # UPDATE SOURCE FILES
#================================================= #=================================================
src="app"
# Create the temporary directory # Create the temporary directory
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
# Download sources and calculate checksum # Download sources and calculate checksum
filename="https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" filename="v$version.tar.gz"
asset_url="https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz"
curl --silent -4 -L $asset_url -o "$tempdir/$filename" curl --silent -4 -L $asset_url -o "$tempdir/$filename"
checksum=$(sha256sum "$tempdir/$filename" | head -c 64) checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
@ -78,12 +81,6 @@ SOURCE_FILENAME=
EOT EOT
echo "... conf/$src.src updated" echo "... conf/$src.src updated"
else
echo "... asset ignored"
fi
done
#================================================= #=================================================
# SPECIFIC UPDATE STEPS # SPECIFIC UPDATE STEPS
#================================================= #=================================================