---
 eclass/go-module.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index e6152966911..f1f1d743f43 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"
-- 
2.21.0


Reply via email to