summaryrefslogtreecommitdiffstats
path: root/aports/db.lua
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-01-24 10:42:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-01-24 10:42:11 +0000
commit1de154a8539633c4f583383fd1971e6e81a78531 (patch)
tree0a90d4d9eb16e7d65635aa5fddc8795d370deb54 /aports/db.lua
parentc6040e954530fdaef48a9d2be9a556b29b037dd4 (diff)
downloadlua-aports-1de154a8539633c4f583383fd1971e6e81a78531.tar.bz2
lua-aports-1de154a8539633c4f583383fd1971e6e81a78531.tar.xz
db: check that all subpackages' apk files exists when decide to build
Diffstat (limited to 'aports/db.lua')
-rw-r--r--aports/db.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aports/db.lua b/aports/db.lua
index 43e646b..54e2459 100644
--- a/aports/db.lua
+++ b/aports/db.lua
@@ -211,7 +211,7 @@ end
function Aports:each_need_build()
return coroutine.wrap(function()
for aport in self:each_aport() do
- if aport:arch_enabled() and not aport:apk_file_exists() then
+ if aport:arch_enabled() and not aport:all_apks_exists() then
coroutine.yield(aport)
end
end