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

Bug#492861: Progress bar rewinds when running pre-pkgsel.d/10popcon

On Tuesday 29 July 2008, Jérémy Bobbio wrote:
> One solution to solve this would be to change the API of pre-pkgsel.d
> scripts.  They could have the current progress step as their
> command-line argument and echo the standard output the new progress
> step.

Wouldn't it be better to use a fixed range for pre-pkgsel scripts and 
divide that up over the number of scripts being run? It could even be 
coded so that the more hook scripts there are, the bigger the part of the 
progress bar that's allocated to them (still leaving the majority for 
tasksel of course).

I don't really like the idea of hook scripts determining how the main 
script works.

Reply to: