forked from TheWrightServer/ProxmoxVE
Fix Path-Check for Sonarr Update
This commit is contained in:
parent
f0936500d3
commit
78948b08cf
@ -56,7 +56,7 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -d /opt/Sonarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /var/lib/sonarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating $APP v4"
|
msg_info "Updating $APP v4"
|
||||||
systemctl stop sonarr.service
|
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=x64'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user