1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00

Update updater.sh

This commit is contained in:
ericgaspar 2021-09-17 13:45:41 +02:00
parent 938e5086f1
commit 233637ba63
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
*"cloud-torrent_linux_arm64_static.gz"*)
*"arm64"*".gz"*)
src="arm64"
;;
*"cloud-torrent_linux_386_static.gz"*)
*"386"*".gz"*)
src="i386"
;;
*"cloud-torrent_linux_amd64_static.gz"*)
*"amd64"*".gz"*)
src="x86_64"
;;
esac