Bug#176483: checks for "noninteractive" (lower case) in postinst
On Mon, Jan 13, 2003 at 10:04:52AM +0100, Jochen Voss wrote:
> 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.
It's possible, and mail will be sent to all the maintainers as you'd
expect, but the web interface doesn't show them properly (see bug #lots
against bugs.debian.org). They're a bit of a pain to manage in cases
like this, though.
> > 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 "18.104.22.1688-07-01-3"; then
> which seems ok to me. What is the problem you see?
Junichi is suggesting that the postinsts of our four packages should
tolerate receiving $DEBIAN_FRONTEND in lower case, as man-db does. In my
previous mail I claim that this is no longer necessary.
Colin Watson [email@example.com]