diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-01-01 10:01:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-01-01 10:01:54 +0000 |
commit | 2c0050440e482a2b5a059471ce735bef16a67796 (patch) | |
tree | d91f3a677fb3fb5520f95c99c498dba1a1db7481 /ulri | |
parent | 8792277ec12fadb534351c6209a721f563bc8f3d (diff) | |
download | iurt-2c0050440e482a2b5a059471ce735bef16a67796.tar iurt-2c0050440e482a2b5a059471ce735bef16a67796.tar.gz iurt-2c0050440e482a2b5a059471ce735bef16a67796.tar.bz2 iurt-2c0050440e482a2b5a059471ce735bef16a67796.tar.xz iurt-2c0050440e482a2b5a059471ce735bef16a67796.zip |
fix too
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -542,7 +542,7 @@ foreach my $prefix (sort keys %pkg_tree) { # count noarch todos only once even if searching multiple bots my $noarch_countflag = 0; - my $arch_list = find { ref($_) eq 'ARRAY' } $config->{arch}, $config->{arch}{$target}, $config->{arch}{default}; + my $arch_list = find { ref($_) eq 'ARRAY' } $config->{arch}, (ref($config->{arch}) eq 'HASH' ? ($config->{arch}{$target}, $config->{arch}{default}) : ()); my @arch_list = $arch_list ? @$arch_list : keys %{$config->{bot}}; # need to find a bot for each arch foreach my $arch (@arch_list) { |