„autoupdate.yml“ ändern

This commit is contained in:
olli 2022-09-21 17:41:33 +02:00
parent 55d99a68fc
commit 974724cf46

View File

@ -57,6 +57,7 @@
DEBIAN_FRONTEND=noninteractive apt-get -yy dist-upgrade | sed -e "s/'/'\\\\''/g; 1s/^/'/; \$s/\$/'/" | tee $g_tmp/sys-update || g_echo_error "apt-get -yy dist-upgrade failed $($g_tmp/sys-update)"
DEBIAN_FRONTEND=noninteractive needrestart -b -r a | egrep -q "^NEEDRESTART-KSTA: [2|3]" && g_echo_warn "Server Reboot benötigt"
fi
[ -x /usr/bin/flatpak ] && flatpak update --system --noninteractive --force-remove
backup: yes
validate: /bin/bash -n %s