From 9a47f7ca55a85510b213803a90f87bf653ceda54 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 27 Jan 2010 13:35:29 +0000 Subject: Refuse to remove packages from main/updates and */release for any non cooker version, past or future --- lib/Youri/Submit/Action/Archive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Youri/Submit/Action/Archive.pm b/lib/Youri/Submit/Action/Archive.pm index d956de0..875349f 100644 --- a/lib/Youri/Submit/Action/Archive.pm +++ b/lib/Youri/Submit/Action/Archive.pm @@ -47,7 +47,7 @@ sub run { my $file = $replaced_package->get_file(); # trap for debugging bug 34999 - if ($file =~ /(200[789]\.[01]).*\/(main\/updates|release)/) { + if ($file =~ /[\d.]*\/(main\/updates|.*\/release)/) { my $bugmsg = "BUG#34999 WARNING: trying to remove from a release: $file\n"; open(BUG34999LOG, '>>', "/home/mandrake/bug34999.log"); print $bugmsg; -- cgit v1.2.1