Skip to content

Commit 78948b0

Browse files
authored
Fix Path-Check for Sonarr Update
1 parent f093650 commit 78948b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct/sonarr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function update_script() {
5656
header_info
5757
check_container_storage
5858
check_container_resources
59-
if [[ ! -d /opt/Sonarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
59+
if [[ ! -d /var/lib/sonarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
6060
msg_info "Updating $APP v4"
6161
systemctl stop sonarr.service
6262
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64'

0 commit comments

Comments
 (0)