blob: 0dd264bd68a79cb1124ac832a3d88e6fa0a2e987 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env lua
local l = require "ensure.list"
local loud = {
identifier = l.default.identifier,
invalid = function (_, name) io.stderr:write(string.format("invalid package name: %q\n", name)) end,
}
local p = l.all(arg[1] or os.getenv("ENSURE") or "/etc/ensure.d", loud)
for _, name in pairs(p) do
print(name)
end
|