aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm
index 9573eab..73f7e96 100644
--- a/lib/Youri/Repository/Mandriva_upload.pm
+++ b/lib/Youri/Repository/Mandriva_upload.pm
@@ -298,11 +298,12 @@ sub _get_section {
# do not use testing by default
next if $m =~ /testing/;
next unless
+ ($media->{src}{$m} &&
$self->get_files(
'',
$media->{src}{$m},
$source_pattern
- ) || $self->get_files(
+ )) || $self->get_files(
'',
$media->{$arch}{$m},
$binary_pattern