[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176483: checks for "noninteractive" (lower case) in postinst



Hi Junichi,

here is a transcript of a mail exchange between Colin Watson
and me about bug #176483.

On Mon, Jan 13, 2003 at 11:46:26AM +0000, Colin Watson wrote:
> On Mon, Jan 13, 2003 at 12:31:01PM +0100, Jochen Voss wrote:
> > On Mon, Jan 13, 2003 at 10:29:43AM +0000, Colin Watson wrote:
> > > On Mon, Jan 13, 2003 at 10:43:49AM +0100, Jochen Voss wrote:
> > > > On Mon, Jan 13, 2003 at 09:33:50AM +0000, Colin Watson wrote:
> > > > > On Mon, Jan 13, 2003 at 10:04:52AM +0100, Jochen Voss wrote:
> > > > > > The fdutils postinst contains the lines
> > > > > > 
> > > > > >         if [ "$DEBIAN_FRONTEND" ]; then
> > > > > >             DEBIAN_FRONTEND=`echo "$DEBIAN_FRONTEND" | tr A-Z a-z`
> > > > > >         fi
> > > > > >         
> > > > > >         if [ "$DEBIAN_FRONTEND" != "noninteractive" ] \
> > > > > >             && dpkg --compare-versions "$2" lt "5.2.0.1998-07-01-3"; then
> > > > > >         ...
> > > > > > 
> > > > > > which seems ok to me.  What is the problem you see?
> [...]
> > But fdutils actually does tolerate receiving $DEBIAN_FRONTEND in any
> > combination of upper and lower case.  At least this is the intention
> > of my code-sniplet above which has been in the pdutils postinst for
> > many months.  Is there something wrong with it?
> 
> Ah, I see. Looks fine to me, so ask Junichi what he was thinking when he
> filed the bug ...

What do you think is the actual problem with the fdutils package?
Some explicit hint about what it should do differently would help
me much.

Thank you,
Jochen
-- 
http://www.mathematik.uni-kl.de/~wwwstoch/voss/

Attachment: pgp_0xbbTeT2j.pgp
Description: PGP signature


Reply to: