From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64CFC138334 for ; Tue, 1 Oct 2019 21:30:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1CCBE091B; Tue, 1 Oct 2019 21:30:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50E7AE08FC for ; Tue, 1 Oct 2019 21:30:25 +0000 (UTC) Received: from whubbs1.gaikai.biz (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 097EB34B778 for ; Tue, 1 Oct 2019 21:30:23 +0000 (UTC) Received: (nullmailer pid 31752 invoked by uid 1000); Tue, 01 Oct 2019 21:29:52 -0000 Date: Tue, 1 Oct 2019 16:29:52 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/1] go-module.eclass: only show warning for new packages Message-ID: <20191001212952.GA31738@whubbs1.dev.av1.gaikai.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20191001210749.31266-1-williamh@gentoo.org> <20191001210749.31266-2-williamh@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <20191001210749.31266-2-williamh@gentoo.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 43cda473-d389-4862-9af9-0add58efea73 X-Archives-Hash: b8324376a54278f544aca8283757e009 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 01, 2019 at 04:07:49PM -0500, William Hubbs wrote: > --- > eclass/go-module.eclass | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass > index e6152966911..f1f1d743f43 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 Typo fix, || will be changed to && before I commit. William --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCXZPFSAAKCRBuVBb0MMRl OKRzAKC4jO2gtvfo4Blhu1H1OssO8lX8RACfa+ftbrThSYTTSwfH+1JV4h0/Nyw= =yEZd -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--