--- a/util/prosodyctl.lua Wed Jul 31 10:07:22 2019 -0700
+++ b/util/prosodyctl.lua Wed Jul 31 10:22:11 2019 -0700
@@ -312,7 +312,11 @@
elseif operation == "remove" then
show_message("Removing %s from %s", mod, dir);
end
- os.execute("luarocks --tree='"..dir.."' --server='http://localhost/' "..operation.." "..mod);
+ if operation == "list" then
+ os.execute("luarocks list --tree='"..dir.."'")
+ else
+ os.execute("luarocks --tree='"..dir.."' --server='http://localhost/' "..operation.." "..mod);
+ end
if operation == "install" then
show_module_configuration_help(mod);
end