Software /
code /
prosody
Diff
util/prosodyctl.lua @ 11294:a1939b261f67
prosodyctl: Move UI related calls out of util.prosodyctl
I think this follows the general separation of duties between prosodyctl
and util.prosodyctl better.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Jan 2021 19:04:57 +0100 (2021-01-21) |
parent | 11292:ad5cd9b0f8de |
child | 11296:06bb0cdef50b |
line wrap: on
line diff
--- a/util/prosodyctl.lua Thu Jan 21 19:02:03 2021 +0100 +++ b/util/prosodyctl.lua Thu Jan 21 19:04:57 2021 +0100 @@ -221,11 +221,6 @@ 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 @@ if not ok then return code; end - if operation == "install" then - show_module_configuration_help(mod); - end return true; end