summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorMystery Man 553 <uid553@mandriva.org>2001-02-12 18:17:42 +0000
committerMystery Man 553 <uid553@mandriva.org>2001-02-12 18:17:42 +0000
commit311f5ef312ec2e8ca2713ccc4b467b62794d8f27 (patch)
tree39fdc0217de987c09029f26c880f4c1cac7a0ff1 /perl-install/install_steps_gtk.pm
parent28a78473bda01158f93112420303d1e439ef8901 (diff)
downloaddrakx-backup-do-not-use-311f5ef312ec2e8ca2713ccc4b467b62794d8f27.tar
drakx-backup-do-not-use-311f5ef312ec2e8ca2713ccc4b467b62794d8f27.tar.gz
drakx-backup-do-not-use-311f5ef312ec2e8ca2713ccc4b467b62794d8f27.tar.bz2
drakx-backup-do-not-use-311f5ef312ec2e8ca2713ccc4b467b62794d8f27.tar.xz
drakx-backup-do-not-use-311f5ef312ec2e8ca2713ccc4b467b62794d8f27.zip
(choosePackagesTree): non first choice packages are in "Other".
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 0c694ecdc..145b56159 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -327,6 +327,7 @@ sub choosePackagesTree {
foreach (sort @$compss) {
($root, $leaf) = m|(.*)/(.+)|o or ($root, $leaf) = ('', $_);
my $pkg = pkgs::packageByName($packages, $leaf);
+ $root .= '/' . _("Other") if pkgs::packageRate($pkg) < 4;
$add_node->($leaf, $root) if pkgs::packageMedium($pkg)->{selected};
}
}