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

Re: [PATCH 2/2] Don't select base packages and groups when going back.



> diff --git a/backend.py b/backend.py
> index 6ca14a8..4ec5e8c 100644
> --- a/backend.py
> +++ b/backend.py
> @@ -303,9 +303,13 @@ def doInstall(anaconda):
>  def doBasePackageSelect(anaconda):
>      if anaconda.ksdata:
>          anaconda.backend.resetPackageSelections()
> +        if anaconda.dir == DISPATCH_BACK:
> +            return DISPATCH_BACK
>          kickstart.selectPackages(anaconda)
>      elif anaconda.displayMode != 't':
>          anaconda.backend.resetPackageSelections()
> +        if anaconda.dir == DISPATCH_BACK:
> +            return DISPATCH_BACK
>          anaconda.instClass.setPackageSelection(anaconda)
>          anaconda.instClass.setGroupSelection(anaconda)

Why do you want to reset but not select?  This will have the effect that
if you make some package selections, go forward, and go back then your
previous selections will be forgotten.  You won't even be set back to
the default - you'll just have nothing selected.

- Chris


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