Compare commits

...

2 Commits

Author SHA1 Message Date
Sam Heinz f7c1f30373 Update tunarr.sh 2026-06-27 20:51:42 +10:00
Sam Heinz 5b252892e1 fix command syntax in tunarr.sh 2026-06-27 19:57:54 +10:00
+2 -7
View File
@@ -33,17 +33,12 @@ function update_script() {
systemctl stop tunarr systemctl stop tunarr
msg_ok "Stopped Service" msg_ok "Stopped Service"
msg_info "Creating Backup" create_backup /root/.local/share/tunarr
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
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-$(arch_resolve "x64" "arm64").tar.gz" 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 cd /opt/tunarr
mv tunarr* tunarr mv tunarr* tunarr
restore_backup
msg_info "Starting Service" msg_info "Starting Service"
systemctl start tunarr systemctl start tunarr