aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-01-27 13:35:29 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-01-27 13:35:29 +0000
commit9a47f7ca55a85510b213803a90f87bf653ceda54 (patch)
tree7ad686bbe4752e0116deccead81b8aebb8303c88 /lib
parent108da6bb424ea04aa3b74bcfeb28ec90cf0e9501 (diff)
downloadmga-youri-submit-9a47f7ca55a85510b213803a90f87bf653ceda54.tar
mga-youri-submit-9a47f7ca55a85510b213803a90f87bf653ceda54.tar.gz
mga-youri-submit-9a47f7ca55a85510b213803a90f87bf653ceda54.tar.bz2
mga-youri-submit-9a47f7ca55a85510b213803a90f87bf653ceda54.tar.xz
mga-youri-submit-9a47f7ca55a85510b213803a90f87bf653ceda54.zip
Refuse to remove packages from main/updates and */release for any non cooker version, past or future
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Action/Archive.pm2
1 files changed, 1 insertions, 1 deletions
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;