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

Re: postinst and debconf again



On Thu, Dec 19, 2002 at 04:43:33PM +0100, pp wrote:
> Steve Langasek <vorlon@netexpress.net> wrote:
> > You're missing a '|| true' after the prompt for midgard/error.  The
> > question is being skipped by debconf, probably because it's been shown
> > before, and this results in a different return code.
> 
> With a '||true' no error is returned , but message is not displayed.
> Shouldn't be something like db_display ??

If you want to force a message to be displayed no matter whether the
user has seen it before, you're into a whole different style of debconf
programming involving the 'seen' flag. Be very careful when you use this
that the question is not displayed twice to people upgrading with apt
(once when preconfiguring and once when configuring).

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: