Comparison

prosodyctl @ 2515:50517948705c

prosodyctl: Don't load luarocks as util.dependencies now does this
author Matthew Wild <mwild1@gmail.com>
date Thu, 28 Jan 2010 18:11:24 +0000
parent 2511:a81c710b1708
child 2566:48dfd5c9dc5d
comparison
equal deleted inserted replaced
2514:163b2aef5aff 2515:50517948705c
30 end 30 end
31 31
32 if not require "util.dependencies".check_dependencies() then 32 if not require "util.dependencies".check_dependencies() then
33 os.exit(1); 33 os.exit(1);
34 end 34 end
35
36 -- Required to be able to find packages installed with luarocks
37 pcall(require, "luarocks.require")
38
39 35
40 config = require "core.configmanager" 36 config = require "core.configmanager"
41 37
42 do 38 do
43 -- TODO: Check for other formats when we add support for them 39 -- TODO: Check for other formats when we add support for them