From bbbc64f7735eaeb7f5163317f5ddfdb71f6f8615 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Jul 2008 20:20:23 +0000 Subject: final urpm::cdrom adaptation to blist->{pkgs} instead of blist->{list} --- urpm/cdrom.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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) { -- cgit v1.2.1