1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/audiobookshelf_ynh.git synced 2024-09-03 18:06:19 +02:00
This commit is contained in:
Navan Chauhan 2022-07-15 14:28:13 +05:30 committed by GitHub
parent cef283040d
commit ffc3267f6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,8 @@ fi
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"
curl --silent -4 -L $asset_url -o "$tempdir/$filename" curl --silent -4 -L "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" -o "$tempdir/$filename"
checksum=$(sha256sum "$tempdir/$filename" | head -c 64) checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
# Delete temporary directory # Delete temporary directory