summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuildrepo.lua4
1 files changed, 3 insertions, 1 deletions
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