mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
Update dockcheck.sh
patched the self_update logic to respect (and skip interaction) if `-y|a` flag is passed.
This commit is contained in:
parent
48bfea9fbf
commit
6a3198eb08
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue