[Debconf-devel] Bug#387708: Bug in the example config script demonstrating the backup capability

Anton Zinoviev anton at lml.bas.bg
Sat Sep 16 08:49:00 UTC 2006


Package: debconf-doc
Version: 1.5.4
Severity: normal

The example config script in the section "Letting the user back up"
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




More information about the Debconf-devel mailing list