diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-21 19:04:57 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-21 19:04:57 +0100 |
commit | bd62b3bce705d2672dd32ac72f4717cf215dbd29 (patch) | |
tree | edea934b011a6ae83e541ebac17b08564121c632 /util/prosodyctl.lua | |
parent | 07e3f4ace874a1dfe9d0d8612a69fd0f9ec7d972 (diff) | |
download | prosody-bd62b3bce705d2672dd32ac72f4717cf215dbd29.tar.gz prosody-bd62b3bce705d2672dd32ac72f4717cf215dbd29.zip |
prosodyctl: Move UI related calls out of util.prosodyctl
I think this follows the general separation of duties between prosodyctl
and util.prosodyctl better.
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r-- | util/prosodyctl.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index d53a7ff5..efe3f5f3 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -221,11 +221,6 @@ local render_cli = interpolation.new("%b{}", function (s) return "'"..s:gsub("'" local function call_luarocks(operation, mod, server) local dir = prosody.paths.installer; - if operation == "install" then - show_message("Installing %s in %s", mod, dir); - elseif operation == "remove" then - show_message("Removing %s from %s", mod, dir); - end local ok, where, code = os.execute(render_cli("luarocks {op} --tree={dir} {server&--server={server}} {mod?}", { dir = dir; op = operation; mod = mod; server = server; })); @@ -233,9 +228,6 @@ local function call_luarocks(operation, mod, server) if not ok then return code; end - if operation == "install" then - show_module_configuration_help(mod); - end return true; end |