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

Re: Solution strategy: Re: use and abuse of debconf

On Wed, Jan 17, 2001 at 10:38:29AM +0100, Paul Slootman wrote:

> On Tue 16 Jan 2001, Matt Zimmerman wrote:
> > I assume that 'templates' are called such for a reason; is it possible to
> > use a common question template, but substitute, say, a filename?  That
> > would make it
> Yes.

There doesn't currently seem to be any support for a standard template that is
used by many packages.  While the shared/* namespace provides for shared
answers, each package includes its own question to ask in order to get the
answer.  I am interested to know which template actually gets used in this case
(Joeyh?).  A brief glance at the code gives me the impression that it's the
last template read.

What I would like is a shared-global template with a package-local answer, such
as shared/overwrite_config_file, into which can be substituted, say, a package
name and a config file.  This template would presumably be included with
debconf.  The question could then be asked, and the answer stored in
package/overwrite_config_file.  That way, the wording, formatting, etc. would
be correct and consistent for all packages which need to ask this question
(which would become very common).

 - mdz

Reply to: