diff options
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-x | Rpmdrake/pkg.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 087c200e..a59f1397 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -396,8 +396,7 @@ sub get_pkgs { my $selected = 0; my $name = urpm_name($pkg); - if (member($name, @requested)) { - #any { $pkg->id >= $_->{start} && $pkg->id <= $_->{end} } @update_medias or next; + if (member($name, @requested) && any { $pkg->id >= $_->{start} && $pkg->id <= $_->{end} } @update_medias) { if ($::options{'pkg-sel'} || $::options{'pkg-nosel'}) { my $n = $name; $pkg_sel{$n} || $pkg_nosel{$n} or next; |