Re: R: Validating user input with debconf

2015-08-10 Thread יורי אולייניקוב
Thanks Paul, it was really helpful 2015-08-10 11:02 GMT+03:00 Paul Gevers : > You can also check how I solved this in dbconfig-common in the > dbc_get_app_pass function that is called during configure of any package > that depends on dbconfig-common: > https://sources.debian.net/src/dbconfig-comm

Re: R: Validating user input with debconf

2015-08-10 Thread Paul Gevers
You can also check how I solved this in dbconfig-common in the dbc_get_app_pass function that is called during configure of any package that depends on dbconfig-common: https://sources.debian.net/src/dbconfig-common/1.8.52/dpkg/common/#L853 Although in this case the non-interactive mode is easier

R: Validating user input with debconf

2015-08-10 Thread Gianfranco Costamagna
Hi, sorry for top posting, I'm on mobile. can you please try to look at virtualbox-ext-pack and see if it fits your needs? It is a package that downloads stuff from the internet after showing you a license and asking to accept it. cheers, G. -- Il lun 10 ago 201

Validating user input with debconf

2015-08-09 Thread Yurkao
Hello mentors I have the following question: I want to validate user input while configuring the package and if user provides incorrect input - reprompt question until valid value is provided. Is it a good practice to do that with debconf? If it is - where should I do this ? In config script? P