Re: postinst and debconf again
On Thu, Dec 19, 2002 at 03:45:14PM +0100, pp wrote:
> Colin Watson <firstname.lastname@example.org> wrote:
> > On Thu, Dec 19, 2002 at 02:58:11PM +0100, pp wrote:
> > > if $mysqlcmd -D mysql -e 'use midgard;' >/dev/null 2>&1 ; then
> > >
> > > db_input "high" midgard/error
> > db_input can return with exit code 30 if the question is skipped. In
> > that case, your postinst will fail.
> well..... how it is skipped if I do not want to ask it again?
I think you badly need to read debconf-devel(7), which covers this (in
the sections headed "THE DEBCONF PROTOCOL", "LIBRARIES", and others).
When I say "skipped", I mean that debconf decides not to display the
question because it already has an answer cached, because the priority
is below the user's threshold, or whatever.
Colin Watson [email@example.com]