> > But seems that debconf templates are static, and I can't dynamically > > generate list of choices (users). But I need to, since users can be > > added and removed, and I want 'dpkg-reconfigure' handle it. > > Debconf templates are not static. You have the freedom to insert > variables in the template that you replace just before you ask the > question. I believe the debconf documentation has an item on this. As an > example package that uses it, you could look at dbconfig-common.
Unfortunately, the template I was interested in: Template: dbconfig-common/database-type Type: select Choices: ${database_types} is unused (there is lintian override). But after more accurate reading of debconf-devel(7), I found SUBST command. Thanks. Sorry for noise. -- Accept: text/plain, text/x-diff Accept-Language: eo,en,ru X-Web-Site: sinsekvu.github.io