summaryrefslogtreecommitdiffstats
path: root/urpm/cdrom.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 20:20:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 20:20:23 +0000
commitbbbc64f7735eaeb7f5163317f5ddfdb71f6f8615 (patch)
treeea4bbe95b5cf9fec7f104027e14514f55386ba4c /urpm/cdrom.pm
parentf2697c17543171c3a45e1f913f6cedd13738be86 (diff)
downloadurpmi-bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615.tar
urpmi-bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615.tar.gz
urpmi-bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615.tar.bz2
urpmi-bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615.tar.xz
urpmi-bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615.zip
final urpm::cdrom adaptation to blist->{pkgs} instead of blist->{list}
Diffstat (limited to 'urpm/cdrom.pm')
-rw-r--r--urpm/cdrom.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/cdrom.pm b/urpm/cdrom.pm
index 329aaec9..881bf879 100644
--- a/urpm/cdrom.pm
+++ b/urpm/cdrom.pm
@@ -217,7 +217,7 @@ sub copy_packages_of_removable_media {
my @blists = grep { urpm::is_cdrom_url($_->{medium}{url}) } @$blists;
# we prompt for CDs used less first, since the last CD will be used directly
- @blists = sort { values(%{$a->{list}}) <=> values(%{$b->{list}}) } @blists;
+ @blists = sort { values(%{$a->{pkgs}}) <=> values(%{$b->{pkgs}}) } @blists;
my $prev_medium;
while (@blists) {