Re: [PATCH 1/2] Remove 'Back' button on depsolving exception for ks installs (#673170)

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

 



On Tue, Mar 01, 2011 at 09:36:44PM -1000, David Cantrell wrote:
> For kickstart installs, the storage changes have already been committed
> to disk by the time we run in to the depsolving exception window.  Do
> not offer the 'Back' button for kickstart installs since you can't go
> back from here.  Only way out is to Continue or exit.
> ---
>  yuminstall.py |   11 +++++++----
>  1 files changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/yuminstall.py b/yuminstall.py
> index 3e7f90d..8b72d19 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py

>                      if rc == 0:
>                          sys.exit(1)
> -                    elif rc == 1:
> +                    elif rc == 1 and len(custom_buttons) == 3:

Would making this 'and not anaconda.isKickstart' workat this point? I'd
rather see the source of the logic used in the test than a by-product of
it.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpVMIqTAoU3o.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux