Update sonarr.sh

Fix sonarr update architecture
This commit is contained in:
Jimmy Cleuren
2025-02-10 11:57:55 +01:00
committed by GitHub
parent af8a3e1034
commit d88f6bc827

View File

@@ -34,7 +34,7 @@ function update_script() {
fi
msg_info "Updating $APP v4"
systemctl stop sonarr.service
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64'
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=arm64'
tar -xzf SonarrV4.tar.gz
rm -rf /opt/Sonarr
mv Sonarr /opt
@@ -51,4 +51,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8989${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8989${CL}"