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

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



Frans Pop <elendil@planet.nl> writes:

> 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 think this way is more flexible. Even more if we add the blacklist
support I've proposed to Jeremy.

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

Could you clarify why?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



Reply to: