Verified Commit 19c09188 authored by Karel Koci's avatar Karel Koci 🤘

pkgupdate: drop deprecated Script syntax from conf.lua

parent 2ecbcb77
......@@ -27,7 +27,7 @@ local confd_type, _ = stat(conf_dir)
if confd_type == 'd' then
for name, tp in pairs(ls(conf_dir)) do
if tp == 'r' and name:match('.*.lua$') then
Script("conf.d-" .. name:sub(1, name:find('.lua$') - 1), 'file://' .. conf_dir .. '/' .. name, { security = "Local" })
Script('file://' .. conf_dir .. '/' .. name, { security = "Local" })
end
end
else
......
Markdown is supported
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