diff options
author | Mandrake <mandrake@mandriva.com> | 2006-11-15 11:55:27 +0000 |
---|---|---|
committer | Mandrake <mandrake@mandriva.com> | 2006-11-15 11:55:27 +0000 |
commit | 50518086d006babfb31abd089c8f2bbd8fcfc39c (patch) | |
tree | b3ceb301d7cc01dcfff85e4b3472e1b6a620fadb | |
parent | 70f18b89dca234d75529da612a8812c9374cc0d6 (diff) | |
download | mga-youri-core-50518086d006babfb31abd089c8f2bbd8fcfc39c.tar mga-youri-core-50518086d006babfb31abd089c8f2bbd8fcfc39c.tar.gz mga-youri-core-50518086d006babfb31abd089c8f2bbd8fcfc39c.tar.bz2 mga-youri-core-50518086d006babfb31abd089c8f2bbd8fcfc39c.tar.xz mga-youri-core-50518086d006babfb31abd089c8f2bbd8fcfc39c.zip |
noarch are managed by the specific media code in Mandriva_Upload.pm
-rw-r--r-- | lib/Youri/Repository.pm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/Youri/Repository.pm b/lib/Youri/Repository.pm index 97938cf..bbdd5e3 100644 --- a/lib/Youri/Repository.pm +++ b/lib/Youri/Repository.pm @@ -202,7 +202,6 @@ sub get_revisions { $package->get_arch(), ) ); - @packages = grep { $filter->($_) } @packages if $filter; return @@ -268,17 +267,17 @@ sub get_replaced_packages { $app_context )); - # noarch packages are potentially linked from other directories - if ($package->get_arch() eq 'noarch') { - foreach my $arch ($self->get_extra_arches()) { - push(@list, $self->get_older_revisions( - $package, - $target, - $user_context, - { arch => $arch } - )); - } - } +# # noarch packages are potentially linked from other directories +# if ($package->get_arch() eq 'noarch') { +# foreach my $arch ($self->get_extra_arches()) { +# push(@list, $self->get_older_revisions( +# $package, +# $target, +# $user_context, +# { arch => $arch } +# )); +# } +# } # collect all obsoleted packages push(@list, $self->get_obsoleted_packages( |