From: William Hubbs Date: Wed, 2 Oct 2019 18:20:09 +0000 (-0500) Subject: go-module.eclass: only show warning for new packages X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1c763dc038d371b30099f8bf2067756a5ce8e537;p=gentoo.git go-module.eclass: only show warning for new packages Signed-off-by: William Hubbs --- diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index e6152966911f..9c11959fdf84 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -165,6 +165,7 @@ go-module_live_vendor() { # Display a warning about security updates for Go programs. go-module_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" + [[ -n ${REPLACING_VERSIONS} ]] && return 0 ewarn "${PN} is written in the Go programming language." ewarn "Since this language is statically linked, security" ewarn "updates will be handled in individual packages and will be"