1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00

Update updater.sh

This commit is contained in:
ericgaspar 2021-09-27 08:23:51 +02:00
parent c23ef4a50e
commit 20668b48f5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -63,13 +63,13 @@ 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
*".zip"*)
"owncast-"*"-linux-64bit.zip"*)
src="x86-64"
;;
*".zip"*)
"owncast-"*"-linux-arm7.zip"*)
src="arm7"
;;
*".zip"*)
"owncast-"*"-linux-arm64.zip"*)
src="arm64"
;;
esac
@ -101,7 +101,8 @@ SOURCE_URL=$asset_url
SOURCE_SUM=$checksum
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=$extension
SOURCE_IN_SUBDIR=true
SOURCE_IN_SUBDIR=false
SOURCE_EXTRACT=true
EOT
echo "... conf/$src.src updated"