summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-23 11:09:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-23 11:09:51 +0000
commit2b944d28fc478a01491b78b1c29e8b03a948f296 (patch)
tree0317ec9a6eb1ed8e036cfcb52c285f472e467f4e /perl-install/pkgs.pm
parent793018d13a0c5ceeb5726c74f572b5cb26fa08a3 (diff)
downloaddrakx-backup-do-not-use-2b944d28fc478a01491b78b1c29e8b03a948f296.tar
drakx-backup-do-not-use-2b944d28fc478a01491b78b1c29e8b03a948f296.tar.gz
drakx-backup-do-not-use-2b944d28fc478a01491b78b1c29e8b03a948f296.tar.bz2
drakx-backup-do-not-use-2b944d28fc478a01491b78b1c29e8b03a948f296.tar.xz
drakx-backup-do-not-use-2b944d28fc478a01491b78b1c29e8b03a948f296.zip
(setSelectedFromCompssList): fix the fix
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index dc1cc87cc..9abab8985 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -681,7 +681,7 @@ sub setSelectedFromCompssList {
my ($packages, $compssUsersChoice, $min_level, $max_size, $install_class) = @_;
$compssUsersChoice->{TRUE} = 1; #- ensure TRUE is set
my $nb = selectedSize($packages);
- foreach my $p (sort { substr($a->[$VALUES],0,1) <=> substr($b->[$VALUES],0,1) } values %{$packages->{names}}) {
+ foreach my $p (sort { substr($b->[$VALUES],0,1) <=> substr($a->[$VALUES],0,1) } values %{$packages->{names}}) {
my ($rate, @flags) = split "\t", $p->[$VALUES];
next if !$rate || $rate < $min_level || grep { !grep { /^!(.*)/ ? !$compssUsersChoice->{$1} : $compssUsersChoice->{$_} } split('\|\|') } @flags;