1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Update updater.sh

This commit is contained in:
ericgaspar 2021-09-17 13:54:45 +02:00
parent 2f80465901
commit 9217f6843a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -63,16 +63,16 @@ echo "Handling asset at $asset_url"
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update) # 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 # Leave $src empty to ignore the asset
case $asset_url in case $asset_url in
*".tar.gz"*) *"mattermost-v"$version"-linux-arm.tar.gz"*)
src="arm" src="arm"
;; ;;
*".tar.gz"*) *"mattermost-v"$version"-linux-arm64.tar.gz"*)
src="arm64" src="arm64"
;; ;;
*".tar.gz"*) *"mattermost-v"$version"-linux-amd64.tar.gz"*)
src="x86-64" src="x86-64"
;; ;;
*".tar.gz"*) *"mattermost-enterprise-"$version"-linux-amd64.tar.gz"*)
src="entreprise" src="entreprise"
;; ;;
esac esac