diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-06 06:29:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-06 06:29:12 +0000 |
commit | 66501a24b419d6bc3c2506a42b639bde5e42d4e5 (patch) | |
tree | c4993d5902c363eba369ac4b57d9dbbfda52a68f /aports.lua | |
parent | 77eb895cc74c11bc78fedf96476aade710e4d471 (diff) | |
download | abuild-66501a24b419d6bc3c2506a42b639bde5e42d4e5.tar.gz abuild-66501a24b419d6bc3c2506a42b639bde5e42d4e5.tar.bz2 abuild-66501a24b419d6bc3c2506a42b639bde5e42d4e5.tar.xz abuild-66501a24b419d6bc3c2506a42b639bde5e42d4e5.zip |
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.
Diffstat (limited to 'aports.lua')
-rwxr-xr-x | aports.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |