From f51a98511c1d7892ba85984058270dfc01d60db5 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 7 Mar 2011 23:30:33 +0100 Subject: [PATCH] Fixup the regex Signed-off-by: Joerg Jaspert --- scripts/debian/update-ftpstats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/debian/update-ftpstats b/scripts/debian/update-ftpstats index ea07a72a..c740583f 100755 --- a/scripts/debian/update-ftpstats +++ b/scripts/debian/update-ftpstats @@ -7,8 +7,8 @@ my @archs = ("source", "all", "amd64", "i386", "alpha", "arm", "armel", "hppa", "sparc"); while (<>) { - if (/^(\d{8})\d{6}\|(?:k(?:atie|elly)|process-accepted)\|installed\|[^|]+\|[^|]+\|(\d+)\|([-\w]+)$/) { - if (not defined $data{$1}) { + if (/^(\d{8})\d{6}\|(?:k(?:atie|elly)|process-(?:accepted|upload))(?:\|dak)?\|installed\|[^|]+\|[^|]+\|(\d+)\|([-\w]+)$/) { + if (not defined $data{$1}) { foreach $a (@archs) { $data{$1}{$a} = 0; } -- 2.39.5