Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 09:44:59 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Alex Varju <varju@webct.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/69778: Maintainer update of www/gallery to 1.4.4
Message-ID:  <20040730134459.GG80286@toxic.magnesium.net>
In-Reply-To: <200407300650.i6U6oDvp064113@freefall.freebsd.org>
References:  <200407300650.i6U6oDvp064113@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (07.30.2004 @ 0250 PST): Alex Varju said, in 0.8K: <<
>  One thing I've just noticed about my previously submitted patches is that 
>  the file %%GALLERYDIR%%/.htaccess will only exist after the user has run 
>  the configuration program.  This should probably not be included in 
>  pkg-plist, as package builds will fail in a clean environment.
>> end of "Re: ports/69778: Maintainer update of www/gallery to 1.4.4" from Alex Varju <<

Consider, then, putting it in as something like:

@unexec rm %D/%%GALLERYDIR%%/.htaccess 2>/dev/null || /usr/bin/true

That will just remove it quietly if it does exist, and won't try to add
it to packages.

# Adam


--
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040730134459.GG80286>