diff options
author | William Hubbs <williamh@gentoo.org> | 2019-10-02 13:20:09 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-10-02 13:20:09 -0500 |
commit | 1c763dc038d371b30099f8bf2067756a5ce8e537 (patch) | |
tree | ca3d23565f22cceff60983d73fd35a287ae689f6 /eclass | |
parent | package.mask: Drop obsolete masks (diff) | |
download | gentoo-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.eclass | 1 |
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" |