Re: Conditional use of debconf
On Fri, Jan 04, 2002 at 05:52:19PM -0500, Bob Hilliard wrote:
> if !grep -q include /etc/dictd.conf
> then
> [Display message]
> fi
>
> I can't find anything in the debconf documentation or the command
> available in /usr/share/doc/debian-policy/debconf_specification.txt.gz
> that would permit this type of conditional display of a message. Is
> there something in the debconf documentation that I'm missing?
Put the conditional around db_input in the .config script. If db_input
isn't called, the question won't be asked (i.e. the message won't be
displayed).
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: