X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fupdate-ftpstats;h=c740583f06d99c4e8334637812b662093479f6e0;hb=f51a98511c1d7892ba85984058270dfc01d60db5;hp=d0d519d5cfdf9f369fbac3d14cf944723c75cff9;hpb=cae814a1ffbbb2944931693f35f73062a5ea99e7;p=dak.git diff --git a/scripts/debian/update-ftpstats b/scripts/debian/update-ftpstats index d0d519d5..c740583f 100755 --- a/scripts/debian/update-ftpstats +++ b/scripts/debian/update-ftpstats @@ -3,12 +3,12 @@ my %data; my %data2; my @archs = ("source", "all", "amd64", "i386", "alpha", "arm", "armel", "hppa", - "hurd-i386", "ia64", "m68k", "mips", "mipsel", "powerpc", "s390", + "hurd-i386", "ia64", "kfreebsd-amd64", "kfreebsd-i386", "mips", "mipsel", "powerpc", "s390", "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; }