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

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



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:
> > On Mon, Jan 13, 2003 at 03:38:37PM +0900, Junichi Uekawa wrote:
> > > I've grepped for "noninteractive" on my system.
> > > 
> > > 
> > > see man-db for a better examble.
> > > 
> > > if [ $build_db -eq 1 ]; then
> > >     frontend=`echo "$DEBIAN_FRONTEND" | tr '[:upper:]' '[:lower:]'`
> > >     if [ "$frontend" = noninteractive ]; then
> > >         # Run in the foreground. In this case, chances are we're being run
> > 
> > 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?

-- gotom



Reply to: