summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-05 17:07:53 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-05 17:07:53 +0000
commit1a06c954e1f96ec44241fdcb0749cb2e5a4d0385 (patch)
tree3221a3985d00cf1c83795dadd33b08abd53410ec /urpm.pm
parent91a51b48ebf2548e16dd63457bf96fa7f81aad29 (diff)
downloadurpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar
urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.gz
urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.bz2
urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.xz
urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.zip
*** empty log message ***
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 545e5eeb..49878631 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1102,7 +1102,7 @@ sub filter_minimal_packages_to_upgrade {
exists $packages->{$choices[0]{id}} or $packages->{$choices[0]{id}} = 1;
unshift @packages, $choices[0]{id};
} else {
- push @packages, [ sort { $a->{id} <=> $b->{id} } @choices ];
+ push @packages, [ sort { $a <=> $b } map { $_->{id} } @choices ];
}
}
}