Hmm, without that "> /dev/null" the "end-user" package installer *does*
see it, that's why I put that in there, so they wouldn't have to see it;
it happens at install time, not at compile or package generation time.
It doesn't really matter to me except that it looks messy.
Let me know if there is a better way.
On Mon, 19 Nov 2001, Branko [ISO-8859-2] ďż˝ibej wrote:
> Date: Mon, 19 Nov 2001 17:38:02 +0100
> From: "Branko [ISO-8859-2] ďż˝ibej" <firstname.lastname@example.org>
> To: David Summers <email@example.com>
> Cc: Greg Stein <firstname.lastname@example.org>,
> "email@example.com" <firstname.lastname@example.org>
> Subject: Re: svn commit: rev 472 - trunk/packages/rpm
> 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 <email@example.com>
> >>To: "firstname.lastname@example.org" <email@example.com>
> >>Subject: Re: svn commit: rev 472 - trunk/packages/rpm
> >>On Fri, Nov 16, 2001 at 01:51:22PM -0600, firstname.lastname@example.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
> >>Hmm. Doesn't seem they are doing that... ah well. Would have been really
> >>nice. That /dev/null scares me.
David Wayne Summers "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Sat Oct 21 14:36:49 2006