From 27c2cb4b40e90f0cc0dd2b03c62a723179ed66e8 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 18 Jul 2023 17:18:57 +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 f9be111..e88f109 100644 --- a/autoupdate.yml +++ b/autoupdate.yml @@ -52,7 +52,7 @@ block: | g_echo_ok "Checking for systemupdates" apt-get update || g_echo_error "apt-get update fehlgeschlagen" - if ! hostname | grep ".mint." + if ! hostname | grep -q ".mint." then if ! apt-get -s dist-upgrade 2>&1 | sed -e "s/'/'\\\\''/g; 1s/^/'/; \$s/\$/'/" | tee $g_tmp/sys-updatelist | egrep "^0.+, 0 .+, 0 .+ 0 .+\." then