changeset 10213 | e6ba8bb91905 |
parent 10212 | 219a4958673d |
child 10371 | 649acbfbf7fe |
--- a/util/prosodyctl.lua Fri Aug 16 15:01:57 2019 -0700 +++ b/util/prosodyctl.lua Fri Aug 16 15:03:50 2019 -0700 @@ -296,7 +296,8 @@ end end -local function call_luarocks(operation, mod, dir) +local function call_luarocks(mod, operation) + local dir = get_path_custom_plugins(prosody.paths.plugins); if operation == "install" then show_message("Installing %s at %s", mod, dir); elseif operation == "remove" then