Skip to content
Snippets Groups Projects
Verified Commit 098637fe authored by Karel Koci's avatar Karel Koci :metal:
Browse files

lists: fix wrong value used in loop

parent f62d0e66
No related merge requests found
local function foris_plugin(...)
for plugin in pairs({...}) do
for _, plugin in pairs({...}) do
fplugin = "foris-" .. plugin .. "-plugin"
Install(fplugin, { priority = 40 })
if for_l10n then
......
local function luci_app(...)
for app in pairs({...}) do
for _, app in pairs({...}) do
Install("luci-app-" .. app, { priority = 40 })
if for_l10n then
Install("luci-i18n-" .. app .. "-en", { optional = true })
......@@ -10,7 +10,7 @@ local function luci_app(...)
end
local function luci_proto(...)
for proto in pairs({...}) do
for _, proto in pairs({...}) do
Install("luci-proto-" .. proto, { priority = 40 })
end
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment