From cca948b831f6cb66205237ba9e9d6b41705ca246 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 30 Jan 2011 11:36:36 +0000 Subject: debug_* is now debug/* --- lib/Youri/Repository/Mageia_upload.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1