summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-23 15:49:56 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-23 15:49:56 +0000
commit1d92fd37cad21f57ed1be01c9cd813f504894e96 (patch)
treeebf8d01f7cc8f969b518dfa73563f98cf58c670c
parenta4950ea2cf3227e146ad5184b06282cd4fa60d58 (diff)
downloaddrakx-1d92fd37cad21f57ed1be01c9cd813f504894e96.tar
drakx-1d92fd37cad21f57ed1be01c9cd813f504894e96.tar.gz
drakx-1d92fd37cad21f57ed1be01c9cd813f504894e96.tar.bz2
drakx-1d92fd37cad21f57ed1be01c9cd813f504894e96.tar.xz
drakx-1d92fd37cad21f57ed1be01c9cd813f504894e96.zip
minimal install: install packages with higher rpmsrate level only
(level 5, and not level 4 + 5) when suggests are disabled (it was only done for truly minimal install before)
-rw-r--r--perl-install/install/NEWS4
-rw-r--r--perl-install/install/steps_interactive.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e4bb41219..50eb10318 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,7 @@
+- minimal install: install packages with higher rpmsrate level only
+ (level 5, and not level 4 + 5) when suggests are disabled
+ (it was only done for truly minimal install before)
+
Version 12.70 - 22 October 2009
- curses backend: do not crash when resuming interface
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 1ebf6668f..b296702f4 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -587,11 +587,11 @@ Please choose the minimal installation you want:"),
if ($minimal) {
$o->{rpmsrate_flags_chosen}{CAT_X} = $docs = $suggests = 0;
$o->{rpmsrate_flags_chosen}{CAT_SYSTEM} = 0;
- $o->{compssListLevel} = pkgs::rpmsrate_rate_max();
}
$o->{excludedocs} = !$docs;
$o->{rpmsrate_flags_chosen}{CAT_MINIMAL_DOCS} = $docs;
$o->{no_suggests} = !$suggests;
+ $o->{compssListLevel} = pkgs::rpmsrate_rate_max() if !$suggests;
install::any::unselectMostPackages($o);
}