David Summers wrote:
>I normally don't use "> /dev/null" but the alternative is to output a
>whole bunch of "gobbledygook" that the end-user probably won't care about.
>I can take that out if you would rather they see it all. It still should
>abort cleanly if apxs returns non-zero with an error. If there is a
>better way, I'm all ears. :-)
>
Well, it isn't really end-user stuff at all. It's package maintainer
stuff. End users will typically install a binary package, and won't see
it. Those who want to install from source, definitely should see it. So
I'd just drop the pipe to null here.
>Let me know.
>
> - David Summers
>
>
>On Fri, 16 Nov 2001, Greg Stein wrote:
>
>>Date: Fri, 16 Nov 2001 12:42:49 -0800
>>From: Greg Stein <gstein@lyra.org>
>>To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
>>Subject: Re: svn commit: rev 472 - trunk/packages/rpm
>>
>>On Fri, Nov 16, 2001 at 01:51:22PM -0600, david@tigris.org wrote:
>>
>>>...
>>>@@ -114,7 +114,7 @@
>>> %post server
>>> # Load subversion server into apache configuration.
>>> cd /usr/lib/apache
>>>-/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la
>>>+/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la > /dev/null 2>&1
>>>
>>Hmm. Maybe rather than using apxs, we can drop a small .conf fragment into
>>an Apache ".conf dir" ? It seems many distributions are setting those up
>>nowadays.
>>
>>Hmm. Doesn't seem they are doing that... ah well. Would have been really
>>nice. That /dev/null scares me.
>>
>>Cheers,
>>-g
>>
>>
>
--
Brane �ibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006