aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMandrake <mandrake@mandriva.com>2006-11-01 20:29:17 +0000
committerMandrake <mandrake@mandriva.com>2006-11-01 20:29:17 +0000
commitc7f610fb6f6db67402cce39631e57a5badeea970 (patch)
tree8e046e25a3ba2d99de769f61af00c18d78095057
parentc14ba17e80e641ff619e2fa82b6b7cb5d8640550 (diff)
downloadmga-youri-core-c7f610fb6f6db67402cce39631e57a5badeea970.tar
mga-youri-core-c7f610fb6f6db67402cce39631e57a5badeea970.tar.gz
mga-youri-core-c7f610fb6f6db67402cce39631e57a5badeea970.tar.bz2
mga-youri-core-c7f610fb6f6db67402cce39631e57a5badeea970.tar.xz
mga-youri-core-c7f610fb6f6db67402cce39631e57a5badeea970.zip
_arch_changed is a hash
-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 {