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: Wed, 02 Oct 2019 18:24:21
Message-Id: 20191002182357.GA5875@whubbs1.dev.av1.gaikai.org
In Reply to: Re: [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:29:52PM -0500, William Hubbs wrote:
2 > On Tue, Oct 01, 2019 at 04:07:49PM -0500, William Hubbs wrote:
3 > > ---
4 > > eclass/go-module.eclass | 1 +
5 > > 1 file changed, 1 insertion(+)
6 > >
7 > > diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
8 > > index e6152966911..f1f1d743f43 100644
9 > > --- a/eclass/go-module.eclass
10 > > +++ b/eclass/go-module.eclass
11 > > @@ -165,6 +165,7 @@ go-module_live_vendor() {
12 > > # Display a warning about security updates for Go programs.
13 > > go-module_pkg_postinst() {
14 > > debug-print-function ${FUNCNAME} "$@"
15 > > + [[ -n ${REPLACING_VERSIONS} ]] || return 0
16 >
17 > Typo fix, || will be changed to && before I commit.
18
19 This is done and committed.
20
21 Thanks,
22
23 William

Attachments

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