Kaynağa Gözat

Fix artifact download for Navidrome

poesty 1 yıl önce
ebeveyn
işleme
9728503fae
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      update/update_navidrome.sh

+ 1 - 1
update/update_navidrome.sh

@@ -3,7 +3,7 @@ current_version=v`/opt/navidrome/navidrome -v | cut -d ' ' -f 1`
 latest_version=`curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep 'tag_name' | cut -d '"' -f 4`
 if [ "$current_version" != "$latest_version" ]; then
 	systemctl stop navidrome.service
-	wget `curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep 'browser_download_url.*Linux_x86_64' | cut -d '"' -f 4` -O /tmp/Navidrome.tar.gz
+	wget `curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep 'browser_download_url.*linux_amd64' | cut -d '"' -f 4` -O /tmp/Navidrome.tar.gz
 	tar -xvzf /tmp/Navidrome.tar.gz -C /opt/navidrome/
 	rm /tmp/Navidrome.tar.gz
 	# user permissions or whatever