1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Fix auto-updater

This commit is contained in:
tituspijean 2022-12-21 17:52:10 +01:00
parent 79f1bca566
commit 2e97b5c020
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -70,7 +70,7 @@ for arch in ${architectures[@]}; do
tempdir="$(mktemp -d)"
# Download sources and calculate checksum
filename=${asset_url##*/}
filename="asset-$arch.zip"
curl --silent -4 -L $asset_url -o "$tempdir/$filename"
checksum=$(sha256sum "$tempdir/$filename" | head -c 64)