Date: Thu, 18 Aug 2016 18:50:52 -0700 From: Cy Schubert <Cy.Schubert@komquats.com> To: Adam Weinberger <adamw@adamw.org> Cc: Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r420435 - in head/sysutils: cfengine33 cfengine34 cfengine35 cfengine36 cfengine37 cfengine38 cfengine39 Message-ID: <201608190150.u7J1oqCC020707@slippy.cwsent.com> In-Reply-To: Message from Adam Weinberger <adamw@adamw.org> of "Thu, 18 Aug 2016 19:11:49 -0600." <E1569D9B-9C86-4707-ABC7-E0080DD5B59F@adamw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <E1569D9B-9C86-4707-ABC7-E0080DD5B59F@adamw.org>, Adam Weinberger wr ites: > > On 18 Aug, 2016, at 18:37, Cy Schubert <cy@FreeBSD.org> wrote: > > > > Author: cy > > Date: Fri Aug 19 00:37:47 2016 > > New Revision: 420435 > > URL: https://svnweb.freebsd.org/changeset/ports/420435 > > > > Log: > > Update @unexec with modern @postunexec. > > > > Modified: head/sysutils/cfengine33/pkg-plist > > =========================================================================== > === > > --- head/sysutils/cfengine33/pkg-plist Thu Aug 18 23:28:59 2016 > (r420434) > > +++ head/sysutils/cfengine33/pkg-plist Fri Aug 19 00:37:47 2016 > (r420435) > > > > -@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || : > > +@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || : > > Why not just plain old > @dir /var/cfengine/inputs > @dir will happily ignore non-empty directories. > > And combining with your next commit, you can just > @dir(root,wheel,700) /var/cfengine/ppkeys On second thought, this makes more sense. Thanks. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608190150.u7J1oqCC020707>