summaryrefslogtreecommitdiff
path: root/updater-ng/files/turris.lua
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-05-28 16:10:39 +0200
committerKarel Kočí <karel.koci@nic.cz>2019-05-28 16:10:39 +0200
commit07f30194fe477f23ce6570218df922a73022b5da (patch)
treecb9f68c0a4ca7b08e737b99a8d0fccf0dbe1942c /updater-ng/files/turris.lua
parent8511bca8daa08ac5b89bdfe014da6df38957e96d (diff)
downloadopenwrt-personal-pkgs-07f30194fe477f23ce6570218df922a73022b5da.tar.gz
openwrt-personal-pkgs-07f30194fe477f23ce6570218df922a73022b5da.tar.bz2
openwrt-personal-pkgs-07f30194fe477f23ce6570218df922a73022b5da.zip
updater-ng: fix turris.lua script
Diffstat (limited to 'updater-ng/files/turris.lua')
-rw-r--r--updater-ng/files/turris.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater-ng/files/turris.lua b/updater-ng/files/turris.lua
index 427d6e7..404c163 100644
--- a/updater-ng/files/turris.lua
+++ b/updater-ng/files/turris.lua
@@ -33,7 +33,7 @@ if type(pkglists) == "string" then -- if there is single list then uci returns j
pkglists = {pkglists}
end
local lists = {}
-for list in pairs(pkglists) do
+for _, list in pairs(pkglists) do
lists["pkglists/" .. list] = true
end