From 5829fc940e3d9860d85fecc4314feb5bb596f62b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 28 Jan 2014 13:49:35 +0000 Subject: db: check both arch and libc when checking for relevant aports --- aports/db.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aports/db.lua') diff --git a/aports/db.lua b/aports/db.lua index cfb7491..c614999 100644 --- a/aports/db.lua +++ b/aports/db.lua @@ -235,7 +235,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:all_apks_exists() then + if aport:enabled() and not aport:all_apks_exists() then coroutine.yield(aport) end end @@ -279,7 +279,7 @@ end function Aports:known_deps_exists(pkg) for name in self:each_known_dependency(pkg) do for dep in self:each_pkg_with_name(name) do - if dep.pkgname ~= pkg.pkgname and dep:arch_enabled() and not dep:all_apks_exists() then + if dep.pkgname ~= pkg.pkgname and dep:enabled() and not dep:all_apks_exists() then return false end end -- cgit v1.2.3