mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.prosodyctl: Get Luarocks server from config
This commit is contained in:
parent
28aadca557
commit
42eec522a3
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ function commands.install(arg)
|
||||||
show_usage([[install]], [[Installs a prosody/luarocks plugin]]);
|
show_usage([[install]], [[Installs a prosody/luarocks plugin]]);
|
||||||
return 1;
|
return 1;
|
||||||
end
|
end
|
||||||
call_luarocks("install", arg[1], "http://localhost/");
|
-- TODO finalize config option name
|
||||||
|
call_luarocks("install", arg[1], configmanager.get("*", "plugin_server") or "http://localhost/");
|
||||||
end
|
end
|
||||||
|
|
||||||
function commands.remove(arg)
|
function commands.remove(arg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue