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