diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-01-30 11:36:36 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-01-30 11:36:36 +0000 |
commit | cca948b831f6cb66205237ba9e9d6b41705ca246 (patch) | |
tree | f26cb14c1985f1e21c0feb458db64a8c55f5a85b /lib | |
parent | 8c10de56caa84bb0f2cb166470366bb07403fe5d (diff) | |
download | mga-youri-core-cca948b831f6cb66205237ba9e9d6b41705ca246.tar mga-youri-core-cca948b831f6cb66205237ba9e9d6b41705ca246.tar.gz mga-youri-core-cca948b831f6cb66205237ba9e9d6b41705ca246.tar.bz2 mga-youri-core-cca948b831f6cb66205237ba9e9d6b41705ca246.tar.xz mga-youri-core-cca948b831f6cb66205237ba9e9d6b41705ca246.zip |
debug_* is now debug/*
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Repository/Mageia_upload.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Youri/Repository/Mageia_upload.pm b/lib/Youri/Repository/Mageia_upload.pm index 522f0e6..c2bad46 100644 --- a/lib/Youri/Repository/Mageia_upload.pm +++ b/lib/Youri/Repository/Mageia_upload.pm @@ -320,8 +320,9 @@ sub _get_section { $section = $self->{packages}{$file}{section}; print "Section undefined, repository says it is '$section' for '$file'\n" if $self->{_verbose}; } - if ($section && $section !~ /debug_/ && $package->is_debug()) { - $section = "debug_$section" + # FIXME: use debug_for info + if ($section && $section !~ m|debug/| && $package->is_debug()) { + $section = "debug/$section" } # if have section already, check if it exists, and may return immediately |