aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Repository.pm22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/Youri/Repository.pm b/lib/Youri/Repository.pm
index 8aa9cb0..cbfbbcb 100644
--- a/lib/Youri/Repository.pm
+++ b/lib/Youri/Repository.pm
@@ -267,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(