From 17d981ec3303ca276a23f442dd7de7cc5b5e1a7f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jan 2014 12:45:55 +0000 Subject: buildrepo: only count the aports for our arch --- buildrepo.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildrepo.lua b/buildrepo.lua index fc618b5..bc3db1e 100755 --- a/buildrepo.lua +++ b/buildrepo.lua @@ -154,7 +154,9 @@ for _,repo in pairs(args) do -- count total aports stats[repo].aports = 0 for aport in db:each_aport() do - stats[repo].aports = stats[repo].aports + 1 + if aport:arch_enabled() then + stats[repo].aports = stats[repo].aports + 1 + end end -- find out what needs to be built -- cgit v1.2.3