diff options
author | Florent Villard <warly@mandriva.com> | 2006-09-01 18:20:17 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-09-01 18:20:17 +0000 |
commit | 936e4f3bc16c7795c72366b1f447024f4fd9ceb6 (patch) | |
tree | 3e3266202db06278820b61e3596b548c00d090d0 /lib/Youri/Repository | |
parent | ab953b7c5729c09e2e04e82dc029c00178333e97 (diff) | |
download | mga-youri-core-936e4f3bc16c7795c72366b1f447024f4fd9ceb6.tar mga-youri-core-936e4f3bc16c7795c72366b1f447024f4fd9ceb6.tar.gz mga-youri-core-936e4f3bc16c7795c72366b1f447024f4fd9ceb6.tar.bz2 mga-youri-core-936e4f3bc16c7795c72366b1f447024f4fd9ceb6.tar.xz mga-youri-core-936e4f3bc16c7795c72366b1f447024f4fd9ceb6.zip |
fix debug section assignment; use srpm name for version check
Diffstat (limited to 'lib/Youri/Repository')
-rw-r--r-- | lib/Youri/Repository/Mandriva_upload.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm index db36f2d..41d1b8d 100644 --- a/lib/Youri/Repository/Mandriva_upload.pm +++ b/lib/Youri/Repository/Mandriva_upload.pm @@ -218,7 +218,7 @@ sub _get_section { if (!$section) { $section = $package->_get_section() } - if ($package->is_debug()) { + if ($section && $section !~ /debug_/ && $package->is_debug()) { $section = "debug_$section" } |