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

lists: fixes of issues founded by using luacheck on lists

This fixes updater error:
[string "base-conditional.lua"]:6: '=' expected near 'Install'
parent 36876afc
2 merge requests!377Turris OS 5.2 (HBK),!290lists: fixes of issues founded by using luacheck on lists
-- Packages extensions and integrations with other with indirect dependencies
include(utils.m4)dnl
_FEATURE_GUARD_
......
......@@ -12,7 +12,7 @@ list_script('webapps.lua')
-- Install various timezone information so local time would work
zoneinfo = {"core", "atlantic", "asia", "africa", "australia-nz", "europe", "northamerica", "india", "pacific", "poles", "simple", "southamerica"}
local zoneinfo = {"core", "atlantic", "asia", "africa", "australia-nz", "europe", "northamerica", "india", "pacific", "poles", "simple", "southamerica"}
for _, zone in pairs(zoneinfo) do
Install("zoneinfo-" .. zone, { priority = 40 })
end
......
......@@ -3,7 +3,6 @@ include(utils.m4)dnl
local feeds = { "base", "core" esyscmd(`awk "/^src-git/{printf \", \\\"%s\\\"\", \$'`2}" '_FEEDS_)}
local rroot
local optional_extra
if features.relative_uri then
rroot = ".."
else
......
......@@ -39,7 +39,7 @@ if not board then
board = "mox"
elseif model:match("[Oo]mnia") then
board = "omnia"
elseif model:match("^[Tt]urris$") or model:match("[Tt]urris ?1\.?x") then
elseif model:match("^[Tt]urris$") or model:match("[Tt]urris ?1%.?x") then
board = "turris1x"
else
DIE("Unsupported Turris model: " .. tostring(model))
......
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