diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-14 12:19:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-14 12:19:12 +0000 |
commit | 336af1d12e46a4290ec0bd57ba7b0c01982a04fe (patch) | |
tree | f05cd79911f7131671e5c987fd8b5893f6d229ac | |
parent | 92d6e9b7da1d3769cdf52fc5ad139ed1c3bc3c15 (diff) | |
download | rpmdrake-336af1d12e46a4290ec0bd57ba7b0c01982a04fe.tar rpmdrake-336af1d12e46a4290ec0bd57ba7b0c01982a04fe.tar.gz rpmdrake-336af1d12e46a4290ec0bd57ba7b0c01982a04fe.tar.bz2 rpmdrake-336af1d12e46a4290ec0bd57ba7b0c01982a04fe.tar.xz rpmdrake-336af1d12e46a4290ec0bd57ba7b0c01982a04fe.zip |
(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
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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, }; } |