From 336af1d12e46a4290ec0bd57ba7b0c01982a04fe Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Sep 2007 12:19:12 +0000 Subject: (get_pkgs) fix reading descriptions from update media (got broken when switching to urpm::get_updates_description() that return a hash ref instead of a hash --- Rpmdrake/pkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index a1ac8940..2e3819da 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -246,7 +246,7 @@ sub get_pkgs { Rpmdrake::gurpm::progress(0.05); #- parse the description file - my %update_descr = urpm::get_updates_description($urpm, @update_medias); + my $update_descr = urpm::get_updates_description($urpm, @update_medias); my $_unused = N("Please wait, finding available packages..."); @@ -418,7 +418,7 @@ sub get_pkgs { installed => \@installed_pkgs, installable => \@installable_pkgs, updates => \@updates, - update_descr => \%update_descr, + update_descr => $update_descr, backports => \@backports, }; } -- cgit v1.2.1