diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 15:44:37 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 15:44:37 +0000 |
commit | 62471cb99df27cda5d7d90b75560b291747065aa (patch) | |
tree | 367eda0f3102db7e0a59d3b7384c76f84ad1ff43 | |
parent | 2395669efc83b7289063c6a713d35b771cc8bb0f (diff) | |
download | rpmdrake-62471cb99df27cda5d7d90b75560b291747065aa.tar rpmdrake-62471cb99df27cda5d7d90b75560b291747065aa.tar.gz rpmdrake-62471cb99df27cda5d7d90b75560b291747065aa.tar.bz2 rpmdrake-62471cb99df27cda5d7d90b75560b291747065aa.tar.xz rpmdrake-62471cb99df27cda5d7d90b75560b291747065aa.zip |
when processing pkg2medium, try harder to honour the
ignored media
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ Disabling \"Mandrake choices\" classification.")), return; sub pkg2medium { my ($p, $urpm) = @_; my $tmp; - each_index { $p->id <= $_ and $tmp ||= ${$urpm->{media}}[$::i] } map { $_->{end} } @{$urpm->{media}}; + each_index { !$_->{ignore} && $p->id <= $_->{end} and $tmp ||= ${$urpm->{media}}[$::i] } @{$urpm->{media}}; $tmp; } |