miyagi-backup.sh aktualisiert

fix apt updates
This commit is contained in:
2025-06-29 01:20:23 +02:00
parent 0055ac78a4
commit 65ff6cf9e2
+6 -4
View File
@@ -171,10 +171,12 @@ run_zsync() {
fi fi
} }
run_updates() { run_remote_updates() {
log "Running updates..." if [[ "$UPDATES" == "yes" ]]; then
apt update && apt dist-upgrade -y ssh "$PBSHOST" apt update && apt dist-upgrade -y
apt autopurge -y else
log "Remote updates disabled"
fi
} }
run_remote_updates() { run_remote_updates() {