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

Re: Common set of debconf templates



On Mon, Oct 11, 2004 at 12:59:01PM +0200, Brian Sutherland wrote:
> On Mon, Oct 11, 2004 at 07:36:40AM +0200, Christian Perrier wrote:
> > SHARED TEMPLATES
> >        It's actually possible to have a template and a question that
> >        are shared among a set of packages. All the packages have to
> >        provide an identical copy of the template in their templates
>                     ^^^^^^^^^
> >        files. This can be useful if a bunch of packages need to ask
> >        the same question, and you only want to bother the user with it
> >        once. Shared templates are generally put in the shared/
> >        pseudo-directory in the debconf tem- plate namespace.
> 
> What happens when the template changes in the template package but is
> out of sync in the other packages?
> 

IIRC, last installed package wins and puts its version of the template into
the debconf database, even if it is not the most up-to-date. If there is a
package that has no translations at all for the shared question and is
installed after packages having plenty of translations, there will be no
translations at all for that shared question in the debconf database. 

Cheers,

-- 
Agustin



Reply to: