[From nobody Wed Jul  8 14:55:31 2009
Received: (at submit) by bugs.debian.org; 16 Sep 2006 09:03:27 +0000
Return-path: &lt;anton@lml.bas.bg&gt;
Received: from lml1.bas.bg ([195.96.224.22] helo=lml.bas.bg)
	by spohr.debian.org with esmtp (Exim 4.50) id 1GOVrA-00088P-K9
	for submit@bugs.debian.org; Sat, 16 Sep 2006 01:49:03 -0700
Received: from ip-46-34.powernet.bg ([85.187.46.34] helo=debian)
	by lml.bas.bg with asmtp (Exim 3.36 #1 (Debian))
	id 1GOWir-0005KT-00; Sat, 16 Sep 2006 12:44:29 +0300
Received: from anton by debian with local (Exim 4.63)
	(envelope-from &lt;anton@lml.bas.bg&gt;)
	id 1GOVrA-0001om-Bg; Sat, 16 Sep 2006 11:49:00 +0300
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Anton Zinoviev &lt;anton@lml.bas.bg&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: Bug in the example config script demonstrating the backup capability
Message-ID: &lt;20060916084900.6944.22955.reportbug@debian.inet&gt;
X-Mailer: reportbug 3.29.5
Date: Sat, 16 Sep 2006 11:49:00 +0300
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: debconf-doc
Version: 1.5.4
Severity: normal

The example config script in the section &quot;Letting the user back up&quot;
contains the following code:

        if [ $STATE -eq 1 ]; then
            # The user has asked to back up from the first
            # question. This case is problematical. Regular
            # dpkg and apt package installation isn't capable
            # of backing up questions between packages as this
            # is written, so this will exit leaving the package
            # unconfigured - probably the best way to handle
            # the situation.
            exit 10
        fi

In the first line of this code 1 should be replaced with 0 or else the
script will never exit with code 10.

Anton Zinoviev

]