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

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


On Mon, Jan 13, 2003 at 03:38:37PM +0900, Junichi Uekawa wrote:
> Package: base-passwd,exim,fdutils,libc6
So is it possible to have bugs, which belong to several packages
at once?  I did not know this before.

> 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
Is this the proposed fix or is this the problem?

The fdutils postinst contains the lines

        if [ "$DEBIAN_FRONTEND" ]; then
            DEBIAN_FRONTEND=`echo "$DEBIAN_FRONTEND" | tr A-Z a-z`
        if [ "$DEBIAN_FRONTEND" != "noninteractive" ] \
            && dpkg --compare-versions "$2" lt ""; then

which seems ok to me.  What is the problem you see?


Attachment: pgp1oGhXl6Ens.pgp
Description: PGP signature

Reply to: