Skip to content

Commit

Permalink
go-module.eclass: only show warning for new packages
Browse files Browse the repository at this point in the history
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Oct 2, 2019
1 parent 292f10c commit 1c763dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/go-module.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1c763dc

Please sign in to comment.