Date: Thu, 15 Feb 2018 16:22:00 +0100 From: Tijl Coosemans <tijl@FreeBSD.org> To: Mark Felder <feld@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r461746 - head/security/ca_root_nss Message-ID: <20180215162200.1a2231a1@kalimero.tijl.coosemans.org> In-Reply-To: <20180214141840.583d247a@kalimero.tijl.coosemans.org> References: <201802132045.w1DKjdOQ093642@repo.freebsd.org> <20180214141840.583d247a@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Feb 2018 14:18:40 +0100 Tijl Coosemans <tijl@FreeBSD.org> wrote: > On Tue, 13 Feb 2018 20:45:39 +0000 (UTC) Mark Felder <feld@FreeBSD.org> wrote: >> Modified: head/security/ca_root_nss/pkg-plist >> ============================================================================== >> --- head/security/ca_root_nss/pkg-plist Tue Feb 13 20:25:50 2018 (r461745) >> +++ head/security/ca_root_nss/pkg-plist Tue Feb 13 20:45:38 2018 (r461746) >> @@ -3,3 +3,4 @@ >> @sample openssl/cert.pem.sample >> %%ETCSYMLINK%%/etc/ssl/cert.pem >> %%ETCSYMLINK%%@dir /etc/ssl >> +@postexec [ -x %%LOCALBASE%%/bin/cert-sync ] && %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt > > This command returns an error if the executable doesn't exist. You > should invert the logic: > > @postexec [ ! -x %%LOCALBASE%%/bin/cert-sync ] || %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt > Fixed in r461930.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180215162200.1a2231a1>