diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 16:55:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 16:55:04 +0000 |
commit | 71196ac55480f2716868d25966a9fd34922747c4 (patch) | |
tree | aa09d926c77ff25137200933c627868290231907 | |
parent | ac646b909ff63399a9a939e8f3e5baaf5eb5b631 (diff) | |
download | rpmdrake-71196ac55480f2716868d25966a9fd34922747c4.tar rpmdrake-71196ac55480f2716868d25966a9fd34922747c4.tar.gz rpmdrake-71196ac55480f2716868d25966a9fd34922747c4.tar.bz2 rpmdrake-71196ac55480f2716868d25966a9fd34922747c4.tar.xz rpmdrake-71196ac55480f2716868d25966a9fd34922747c4.zip |
(get_pkgs) do not list identical packages several time when existing
in several medium since urpmi only consider the first one anyway (same
behavior as old rpmdrake-2.x) (#31810)
-rwxr-xr-x | Rpmdrake/pkg.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 540e815a..e53668b8 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -425,6 +425,7 @@ sub get_pkgs { } $all_pkgs{$_}{pkg}->set_flag_installed foreach @installed_pkgs; + @installable_pkgs = uniq(@installable_pkgs); +{ urpm => $urpm, all_pkgs => \%all_pkgs, |