From 29dffd0e5bec572da7e1d7de0714e96d9dbfd4e8 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 28 Sep 2022 14:48:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eautoupdate.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autoupdate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/autoupdate.yml b/autoupdate.yml index 4beced8..6a6607f 100644 --- a/autoupdate.yml +++ b/autoupdate.yml @@ -56,6 +56,7 @@ g_echo_warn "Systemupdate wird eingespielt: $(cat $g_tmp/sys-updatelist)" 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" + g_echo_warn $(DEBIAN_FRONTEND=noninteractive apt-get -yy auroremove 2>&1 | egrep -A10 "^The following packages will be REMOVED:") fi [ -x /usr/bin/flatpak ] && flatpak update --system --noninteractive --force-remove backup: yes