# HG changeset patch # User João Duarte # Date 1565993030 25200 # Node ID e6ba8bb91905974532ef44a362f45ded132c7a16 # Parent 219a4958673da25e714f056e7c206c76d63791e4 util/prosodyctl: call_luarocks now sets a directory variable itself diff -r 219a4958673d -r e6ba8bb91905 util/prosodyctl.lua --- 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