From b3784e4df4d80d8136a7c7e83cd32ddd5875ee8d Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 17 Nov 2023 05:11:58 -0500 Subject: [PATCH] Update navidrome-install.sh fixes https://github.com/tteck/Proxmox/issues/2065 --- install/navidrome-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/navidrome-install.sh b/install/navidrome-install.sh index d1a890db..b5a003af 100644 --- a/install/navidrome-install.sh +++ b/install/navidrome-install.sh @@ -20,14 +20,12 @@ $STD apt-get install -y mc $STD apt-get install -y ffmpeg msg_ok "Installed Dependencies" -RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | - grep "tag_name" | - awk '{print substr($2, 3, length($2)-4) }') +RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Installing Navidrome" install -d -o root -g root /opt/navidrome install -d -o root -g root /var/lib/navidrome -$STD wget https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_Linux_x86_64.tar.gz -O Navidrome.tar.gz +wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz $STD tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ chown -R root:root /opt/navidrome mkdir -p /music