diff options
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r-- | perl-install/install/steps_interactive.pm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index b02f066e8..d650c7d82 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -365,7 +365,15 @@ sub choosePackages { my $min_mark = 4; my ($individual, $chooseGroups); - _chooseDesktop($o, $o->{rpmsrate_flags_chosen}, \$chooseGroups) if !$o->{upgrade}; + if (!$o->{upgrade}) { + if (install::pkgs::packageByName($o->{packages}, 'task-kde') && + install::pkgs::packageByName($o->{packages}, 'task-gnome-minimal')) { + _chooseDesktop($o, $o->{rpmsrate_flags_chosen}, \$chooseGroups); + } else { + # don't ask for desktop if kde and gnome are not available on media (useful for mini iso) + $chooseGroups = 1; + } + } chooseGroups: $o->chooseGroups($o->{packages}, $o->{compssUsers}, $min_mark, \$individual) if $chooseGroups; |