Re: Iterating over the debconf answers using cdebconf?

2003-08-24 Thread Petter Reinholdtsen
[Tollef Fog Heen] something like Thank you. I've added debconf-dumpdb.c to the cdebconf source. I assume the license is the same as the rest of cdebconf. Please let me know if that is not the case. We should add a similar tool into debconf. And perhaps we should have a similar tool loading

Re: Iterating over the debconf answers using cdebconf?

2003-07-30 Thread Martin Sjögren
tis 2003-07-29 klockan 11.54 skrev Petter Reinholdtsen: How should I implement this code (currently using perl and debconf) if I want it to work with cdebconf? #!/usr/bin/perl -w use strict; use warnings; use Debconf::Db; use Debconf::Template; use Debconf::Question;

Re: Iterating over the debconf answers using cdebconf?

2003-07-30 Thread Petter Reinholdtsen
[Martin Sjögren] Anyone know? I want to pass on some debconf values from d-i/cdebconf to debconf in the installed system. Are you sure it's a good idea to simply copy everything to the target system? Wouldn't it be better to only copy specific things, in a smart way? Preferrably modular so

Iterating over the debconf answers using cdebconf?

2003-07-29 Thread Petter Reinholdtsen
How should I implement this code (currently using perl and debconf) if I want it to work with cdebconf? #!/usr/bin/perl -w use strict; use warnings; use Debconf::Db; use Debconf::Template; use Debconf::Question; Debconf::Db-load; my $qi = Debconf::Question-iterator; while (my