aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xRpmdrake/pkg.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index c7ce590e..122af691 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -425,6 +425,9 @@ sub get_pkgs {
}
$all_pkgs{$_}{pkg}->set_flag_installed foreach @installed_pkgs;
+
+ # urpmi only care about the first medium where it found the package,
+ # so there's no need to list the same package several time:
@installable_pkgs = uniq(@installable_pkgs);
+{ urpm => $urpm,