From 026ad7bbec68d9f3f253ea1b100461a5182b3cb6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 11 Nov 2023 07:35:38 -0500 Subject: [PATCH] Update sonarr.sh tweak --- ct/sonarr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ct/sonarr.sh b/ct/sonarr.sh index bd0f7342..dbfb22ea 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -55,12 +55,14 @@ header_info if [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi read -r -p "Are you updating Sonarr v4? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then + msg_info "Updating $APP v4" systemctl stop sonarr.service wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/develop/latest?version=4&os=linux' tar -xzf SonarrV4.tar.gz cp -r Sonarr/* /usr/lib/sonarr/bin rm -rf Sonarr SonarrV4.tar.gz systemctl start sonarr.service + msg_ok "Updated $APP v4" exit fi msg_info "Updating $APP LXC"