This commit is contained in:
Slaviša Arežina
2026-01-06 22:58:04 +01:00
committed by GitHub
parent 08d67aa722
commit 16f34e9bd0
3 changed files with 3 additions and 14 deletions

View File

@@ -32,13 +32,7 @@ function update_script() {
systemctl stop sonarr
msg_ok "Stopped Service"
msg_info "Updating Sonarr"
curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz"
tar -xzf SonarrV4.tar.gz
rm -rf /opt/Sonarr
mv Sonarr /opt
rm -rf SonarrV4.tar.gz
msg_ok "Updated Sonarr"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Sonarr" "Sonarr/Sonarr" "prebuild" "latest" "/opt/Sonarr" "Sonarr.main.*.linux-x64.tar.gz"
msg_info "Starting Service"
systemctl start sonarr