diff --git a/ct/tunarr.sh b/ct/tunarr.sh index 4aa1548aa..dc7e28e1e 100644 --- a/ct/tunarr.sh +++ b/ct/tunarr.sh @@ -34,11 +34,11 @@ function update_script() { msg_ok "Stopped Service" msg_info "Creating Backup" - if [ -d "/usr/local/share/tunarr" ]; then - tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /usr/local/share/tunarr $STD + if [ -d "/root/.local/share/tunarr" ]; then + tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /root/.local/share/tunarr $STD msg_ok "Backup Created" else - msg_error "Backup failed: /usr/local/share/tunarr does not exist" + msg_error "Backup failed: /root/.local/share/tunarr does not exist" fi CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz"