autoupdate.yml aktualisiert

This commit is contained in:
olli 2023-07-18 17:18:57 +02:00
parent 5fabc8771a
commit 27c2cb4b40

View File

@ -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