X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fdebian%2Fupdate-ftpstats;h=c740583f06d99c4e8334637812b662093479f6e0;hb=f51a98511c1d7892ba85984058270dfc01d60db5;hp=ea07a72a3517aba84c156f449e1769675d1ae763;hpb=0872b2e0b78670c91fd2bf0bda52e5761e079820;p=dak.git 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; }