mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 23:12:45 +00:00
aports.lua: warn if data for a package is missing
This might happen if package name appears as a dependency but there are no apkbuild for it.
This commit is contained in:
parent
77eb895cc7
commit
66501a24b4
@ -164,6 +164,9 @@ end
|
||||
|
||||
function Aports:foreach_pkg(pkg, f)
|
||||
local k,v
|
||||
if self.apks[pkg] == nil then
|
||||
io.stderr:write("WARNING: "..pkg.." has no data\n")
|
||||
end
|
||||
for k,v in pairs(self.apks[pkg]) do
|
||||
f(k,v)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user