diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-06 06:29:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-16 13:39:17 +0000 |
commit | d15a047481e9df71d7bece329f984bc10fc33ff8 (patch) | |
tree | f30749a9548eb6d1a173588bd625419212b9f29b | |
parent | eb1d2edc8ac7d62728de1e7ae4b7519c09a762c8 (diff) | |
download | lua-aports-d15a047481e9df71d7bece329f984bc10fc33ff8.tar.bz2 lua-aports-d15a047481e9df71d7bece329f984bc10fc33ff8.tar.xz |
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.
-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 |