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

Re: The magic of debconf - can I avoid a second run of config?



On Thu, 27 Feb 2003, Johannes Rohr wrote:

> "Kevin B. McCarty" <kmccarty@Princeton.EDU> writes:
> 
> > 2) in the beginning of debian/config, check if the variable is false; if 
> > so, then re-ask configuration questions by using
> > 	db_fset <variable> seen false
> > 	db_input <priority> <variable> || true
> 
> 
> Yeah, thanks!
> 
> But to avoid spaghetti code, can't I simply exit 0 straight away if
> f-prot-installer/configured is true?
> 
> Or is there any reason for the script to run to the very end?

Good question -- now that you point it out, it seems not.  Does anyone
else know if there's any reason not to exit immediately if that's the
case?

-- 
Kevin McCarty                Physics Department
kmccarty@princeton.edu       Princeton University
www.princeton.edu/~kmccarty  Princeton, NJ 08544



Reply to: