Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/1] go-module.eclass: only show warning for new packages
Date: Tue, 01 Oct 2019 21:30:30
Message-Id: 20191001212952.GA31738@whubbs1.dev.av1.gaikai.org
In Reply to: [gentoo-dev] [PATCH 1/1] go-module.eclass: only show warning for new packages by William Hubbs
1 On Tue, Oct 01, 2019 at 04:07:49PM -0500, William Hubbs wrote:
2 > ---
3 > eclass/go-module.eclass | 1 +
4 > 1 file changed, 1 insertion(+)
5 >
6 > diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
7 > index e6152966911..f1f1d743f43 100644
8 > --- a/eclass/go-module.eclass
9 > +++ b/eclass/go-module.eclass
10 > @@ -165,6 +165,7 @@ go-module_live_vendor() {
11 > # Display a warning about security updates for Go programs.
12 > go-module_pkg_postinst() {
13 > debug-print-function ${FUNCNAME} "$@"
14 > + [[ -n ${REPLACING_VERSIONS} ]] || return 0
15
16 Typo fix, || will be changed to && before I commit.
17
18 William

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies