svn commit: r420435 - in head/sysutils: cfengine33 cfengine34 cfengine35 cfengine36 cfengine37 cfengine38 cfengine39

Adam Weinberger adamw at adamw.org
Fri Aug 19 01:11:59 UTC 2016


> On 18 Aug, 2016, at 18:37, Cy Schubert <cy at 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)
> 
> - at unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
> + at 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

# Adam


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org




More information about the svn-ports-all mailing list