# HG changeset patch # User Kim Alvefur # Date 1601925854 -7200 # Node ID 56490ffde93fd678c4765907b892fcbe94db953c # Parent 3e3f220435529004b160f76dbc8ede034bca0f3e util.prosodyctl: Get Luarocks server from config diff -r 3e3f22043552 -r 56490ffde93f prosodyctl --- a/prosodyctl Mon Oct 05 21:24:07 2020 +0200 +++ b/prosodyctl Mon Oct 05 21:24:14 2020 +0200 @@ -78,7 +78,8 @@ show_usage([[install]], [[Installs a prosody/luarocks plugin]]); return 1; 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 function commands.remove(arg)