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

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



On Sun, Feb 02, 2003 at 05:50:31AM +0900, GOTO Masanori wrote:
> At Sat, 1 Feb 2003 17:36:25 +0000,
> Colin Watson wrote:
> > On Mon, Jan 13, 2003 at 09:23:14AM +0000, Colin Watson wrote:
> > > In man-db, that code's there to tolerate the version of debootstrap in
> > > woody (before you fixed #154794). The documented name for the frontend
> > > is all lower case "noninteractive", so that compatibility code will be
> > > removed from man-db. I don't see why the four packages above should get
> > > this extra compatibility code for sarge; it will no longer do any good.
> > 
> > I never got a response to this, so I'm reassigning away from
> > base-passwd. Please explain why you think base-passwd needs to tolerate
> > non-lower-case $DEBIAN_FRONTEND for sarge if you disagree; otherwise I'd
> > prefer to keep the postinst as minimal as possible.
> 
> Hmm, I already included this change into the glibc 2.3.1-10.
> 
>                 frontend=`echo "$DEBIAN_FRONTEND" | tr '[:upper:]' '[:lower:]'`
>                 if [ "$frontend" = noninteractive ]; then
>                     echo "Non-interactive mode, restarting services"
>                     answer=yes
>                 else
> 
> I think removing glibc is ok, aren't you?

It's not actually wrong, so I don't particularly care whether other
packages implement the workaround for woody's debootstrap now or not. :)

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: