aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm
index 3f84b80..ae471e2 100644
--- a/lib/Youri/Repository/Mandriva_upload.pm
+++ b/lib/Youri/Repository/Mandriva_upload.pm
@@ -82,7 +82,7 @@ sub get_target_arch {
sub set_arch_changed {
my ($self, $target, $arch) = @_;
if ($arch eq 'noarch') {
- $self->{_arch_changed} = $self->{_arch}{$target}
+ $self->{_arch_changed}{$_} = 1 foreach @{$self->{_arch}{$target}}
} elsif ($arch eq 'noarch') {
$self->{_arch_changed} = $self->{_src}
} else {