diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-09 09:08:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-09 10:30:17 +0000 |
commit | 93b18761109aefcee77f57a1c2ad6ba4bccecedf (patch) | |
tree | e67419b27211049af5f48d7b44c0c5a5cf6432c2 /aports/db.lua | |
parent | 6be5f55184e4fbb2800a708fdc038e85f04a6858 (diff) | |
download | lua-aports-93b18761109aefcee77f57a1c2ad6ba4bccecedf.tar.bz2 lua-aports-93b18761109aefcee77f57a1c2ad6ba4bccecedf.tar.xz |
db: each_need_build: filter out aports not relevant to arch
Diffstat (limited to 'aports/db.lua')
-rw-r--r-- | aports/db.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aports/db.lua b/aports/db.lua index d81a0d2..cf8f3e0 100644 --- a/aports/db.lua +++ b/aports/db.lua @@ -206,7 +206,7 @@ end function Aports:each_need_build() return coroutine.wrap(function() for aport in self:each_aport() do - if not aport:apk_file_exists() then + if aport:arch_enabled() and not aport:apk_file_exists() then coroutine.yield(aport) end end |