Hi, just wanted to drop a note, that i don't help anymore. Because i just figured my mistaken myself. It's absolutely logical why this does happen. For others who might have similar problems in the future: The problem is: I do db_input a question and try to use the answere of it just a line later. The problem is: After asking the question there has been no db_go, yet. Therefore the question has not yet been asked at this stage and value is default. So remember: If you want to use values you ask the user for in your config scripts: Do not try to use values *before* you have done a db_go! Greets Patrick Patrick Schönfeld wrote: > Hi, > > uhmm.. i know that i may be probing your patience with me, but I am new > and learning ;o) Well, here is another issue, i have. Thanks to Joey, i > figured how to use register to register questions for multiple use. It > yet does work good for me, except that I'm having problems with boolean > questions. > > The case is that I have to ask some questions and depending on the > answer either continue or not. Well, but if i answer 'yes' (default: > false) to a question which should result in $RET = 'true', in fact it is > $RET = 'false'. Otherwise if i answer 'no' (default: yes) it results in > $RET beeing 'true'. I have spent a lot of time trying to figure what i > am doing wrong there, but now i have resigned. > > If i do read out the question with debconf-communication after then > the stored value is what i expect. debugging of debconf does not help me > much. I can't see from it whats wrong there. > > I have uploaded all files about this issue. Here are the URLs: > > http://just-imho.net/~schoenfeld/debian-devel/debconf-trouble/config > http://just-imho.net/~schoenfeld/debian-devel/debconf-trouble/templates > > Also there is a log of the produced debconf debug output: > http://just-imho.net/~schoenfeld/debian-devel/debconf-trouble/debug.txt > > May some of the more experienced developers please have a look at it and > tell me what I am doing wrong? > > Thanks in advance > Best Regards > > Patrick > >
Attachment:
signature.asc
Description: OpenPGP digital signature