From 5be9677e8882c68c3ea07f6110a5d624b1cffa69 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 18 Jul 2023 16:43:53 +0200 Subject: [PATCH] autoupdate.yml aktualisiert --- autoupdate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoupdate.yml b/autoupdate.yml index 9dd5e2a..bc96b56 100644 --- a/autoupdate.yml +++ b/autoupdate.yml @@ -59,7 +59,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 autoremove 2>&1 | egrep -A10 "^The following packages will be REMOVED:") + g_echo_warn $(DEBIAN_FRONTEND=noninteractive apt-get -yy --purge autoremove 2>&1 | egrep -A10 "^The following packages will be REMOVED:") fi fi [ -x /usr/bin/flatpak ] && flatpak update --system --noninteractive --force-remove