fix command syntax in tunarr.sh (#15434)

* fix command syntax in tunarr.sh

* Update tunarr.sh
This commit is contained in:
Sam Heinz
2026-06-28 00:50:56 +10:00
committed by GitHub
parent 8b99d3b1cc
commit 17b5f8c10c
+2 -7
View File
@@ -33,17 +33,12 @@ function update_script() {
systemctl stop tunarr
msg_ok "Stopped Service"
msg_info "Creating Backup"
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: /root/.local/share/tunarr does not exist"
fi
create_backup /root/.local/share/tunarr
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-$(arch_resolve "x64" "arm64").tar.gz"
cd /opt/tunarr
mv tunarr* tunarr
restore_backup
msg_info "Starting Service"
systemctl start tunarr