miyagi-backup.sh aktualisiert
fix apt updates
This commit is contained in:
+6
-4
@@ -171,10 +171,12 @@ run_zsync() {
|
||||
fi
|
||||
}
|
||||
|
||||
run_updates() {
|
||||
log "Running updates..."
|
||||
apt update && apt dist-upgrade -y
|
||||
apt autopurge -y
|
||||
run_remote_updates() {
|
||||
if [[ "$UPDATES" == "yes" ]]; then
|
||||
ssh "$PBSHOST" apt update && apt dist-upgrade -y
|
||||
else
|
||||
log "Remote updates disabled"
|
||||
fi
|
||||
}
|
||||
|
||||
run_remote_updates() {
|
||||
|
||||
Reference in New Issue
Block a user