summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r--perl-install/install/steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index f0c8347f6..9bdd47883 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -367,7 +367,8 @@ sub choosePackages {
if (!$o->{isUpgrade}) {
if (install::pkgs::packageByName($o->{packages}, 'task-kde') &&
- install::pkgs::packageByName($o->{packages}, 'task-gnome-minimal')) {
+ install::pkgs::packageByName($o->{packages}, 'task-gnome-minimal') &&
+ $availableC >= 2_500_000_000) { # don't chooseDesktop if not enough place
_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)