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

apt-setup cansel support (was: [RFC] Support for using multiple CDs during installation)



On Friday 02 November 2007, Joey Hess wrote:
> Here'a an attempt at cancelable progress bars for apt-setup. If apt's
> bug gets fixed the progress bar will also include download speed
> and time estimates.
>
> The behavior when cancel is pressed could be improved, it currently
> behaves the same as if the apt source failed to validate, which
> typically loops back and lets the user try it again.
>
> I ran out of time to do any testing.

> Index: generators/50mirror
> ===================================================================
> -	if apt-setup-verify $file; then
> +	if apt-setup-verify $file -- --from $PROGRESS_FROM --to $PROGRESS_TO;

> Index: generators/91security
> ===================================================================
> -	if ! apt-setup-verify $file; then
> +	if ! apt-setup-verify $file --from $PROGRESS_FROM --to $PROGRESS_TO;

> Index: generators/92volatile
> ===================================================================
> -	if ! apt-setup-verify $file; then
> +	if ! apt-setup-verify $file --from $PROGRESS_FROM --to $PROGRESS_TO;

Why does the first have "--" and the other two not?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: