svn commit: r332914 - in head/www/apache22: . files

Matthias Andree mandree at FreeBSD.org
Tue Nov 5 22:06:52 UTC 2013


Am 05.11.2013 23:00, schrieb Olli Hauer:
> Author: ohauer
> Date: Tue Nov  5 22:00:07 2013
> New Revision: 332914
> URL: http://svnweb.freebsd.org/changeset/ports/332914
> 
> Log:
...

>   - fix package installation with old pkg tools (create empty
>     folders in pkg-plist even staging is enabled)
> Modified: head/www/apache22/pkg-plist
> ==============================================================================
> --- head/www/apache22/pkg-plist	Tue Nov  5 21:57:16 2013	(r332913)
> +++ head/www/apache22/pkg-plist	Tue Nov  5 22:00:07 2013	(r332914)
> @@ -1,4 +1,8 @@
>  @comment $FreeBSD$
> + at comment keep the next three lines on top (only required for old pkg_... tools)
> + at exec mkdir -p %D/%%ETCDIR%%/envvars.d 2> /dev/null || true
> + at exec mkdir -p %D/%%ETCDIR%%/extra 2> /dev/null || true
> + at exec mkdir -p %D/%%ETCDIR%%/Includes 2> /dev/null || true

This should probably just be @exec mkdir -p %D/%%ETCDIR%%/whatever.

mkdir -p silently skips existing directories, and if the destination is
not a directory, you neither want to discard the error message nor let
the installation pass with a much less obvious failing cp (as before).




More information about the svn-ports-head mailing list