summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2019-10-02 13:20:09 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-10-02 13:20:09 -0500
commit1c763dc038d371b30099f8bf2067756a5ce8e537 (patch)
treeca3d23565f22cceff60983d73fd35a287ae689f6 /eclass
parentpackage.mask: Drop obsolete masks (diff)
downloadgentoo-1c763dc038d371b30099f8bf2067756a5ce8e537.tar.gz
gentoo-1c763dc038d371b30099f8bf2067756a5ce8e537.tar.bz2
gentoo-1c763dc038d371b30099f8bf2067756a5ce8e537.zip
go-module.eclass: only show warning for new packages
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/go-module.eclass1
1 files changed, 1 insertions, 0 deletions
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"