Verified Commit a11bc37a authored by Karel Koci's avatar Karel Koci 🤘

pkgupdate: use root_dir for uci directory

parent 15967b1a
......@@ -6,7 +6,7 @@ Create new file in conf.d instead.
-- Prepare variables specifying localization of system.
l10n = {} -- table with selected localizations
if uci then
l10n = uci.cursor():get("updater", "l10n", "langs")
l10n = uci.cursor(root_dir .. "/etc/config"):get("updater", "l10n", "langs")
if type(l10n) == "string" then
l10n = {l10n}
end
......
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