X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fupdate-ftpstats;h=b9febef040e2708d1eab03e36e107ef09c1822c5;hb=6748a73bc2a4a0489e5c67a0f7cbc6b87b5fe054;hp=6627fff900df2ea8096daa7e06f0c6a84dfcc7d6;hpb=52713f57864e522b5300dab063def4ad470b1005;p=dak.git diff --git a/scripts/debian/update-ftpstats b/scripts/debian/update-ftpstats old mode 100644 new mode 100755 index 6627fff9..b9febef0 --- a/scripts/debian/update-ftpstats +++ b/scripts/debian/update-ftpstats @@ -2,12 +2,12 @@ my %data; my %data2; -my @archs = ("source", "all", "amd64", "i386", "alpha", "arm", "hppa", - "hurd-i386", "ia64", "m68k", "mips", "mipsel", "powerpc", "s390", +my @archs = ("source", "all", "amd64", "i386", "alpha", "arm", "armel", "hppa", + "hurd-i386", "ia64", "mips", "mipsel", "powerpc", "s390", "sparc"); while (<>) { - if (/^(\d{8})\d{6}\|k(?:atie|elly)\|installed\|[^|]+\|[^|]+\|(\d+)\|([-\w]+)$/) { + if (/^(\d{8})\d{6}\|(?:k(?:atie|elly)|process-accepted)\|installed\|[^|]+\|[^|]+\|(\d+)\|([-\w]+)$/) { if (not defined $data{$1}) { foreach $a (@archs) { $data{$1}{$a} = 0;