Prevent upgrade notice on selfupdate.

This commit is contained in:
Marco Vermeulen
2013-06-04 19:07:46 +01:00
parent 857ce95d89
commit 39ec39b075

View File

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