From 6a3198eb083522d0fd8a59ca059d4f9c380576bb Mon Sep 17 00:00:00 2001 From: mag37 Date: Wed, 28 Jun 2023 18:03:56 +0200 Subject: [PATCH] Update dockcheck.sh patched the self_update logic to respect (and skip interaction) if `-y|a` flag is passed. --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index 8726f2b..bc8673b 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -101,7 +101,7 @@ choosecontainers() { } ### Version check & initiate self update -[[ "$VERSION" != "$LatestRelease" ]] && { printf "New version available! Local: %s - Latest: %s \n Change Notes: %s \n" "$VERSION" "$LatestRelease" "$LatestChanges" ; self_update_select ; } +[[ "$VERSION" != "$LatestRelease" ]] && { printf "New version available! Local: %s - Latest: %s \n Change Notes: %s \n" "$VERSION" "$LatestRelease" "$LatestChanges" ; [[ -z "$UpdYes" ]] && self_update_select ; } ### Set $1 to a variable for name filtering later. SearchName="$1"