From 1c763dc038d371b30099f8bf2067756a5ce8e537 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 2 Oct 2019 13:20:09 -0500 Subject: go-module.eclass: only show warning for new packages Signed-off-by: William Hubbs --- eclass/go-module.eclass | 1 + 1 file changed, 1 insertion(+) (limited to 'eclass') 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" -- cgit v1.2.3-65-gdbad