mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 09:43:04 -05:00
Prevent upgrade notice on selfupdate.
This commit is contained in:
@@ -47,7 +47,7 @@ function gvm {
|
||||
|
||||
|
||||
__gvmtool_check_upgrade_available
|
||||
if [[ -n "${UPGRADE_AVAILABLE}" && ( "$1" != "broadcast" ) ]]; then
|
||||
if [[ -n "${UPGRADE_AVAILABLE}" && "$1" != "broadcast" && "$1" != "selfupdate" ]]; then
|
||||
echo "${BROADCAST_LIVE}"
|
||||
echo ""
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user