Software / code / prosody
Comparison
prosodyctl @ 2497:810fb77b6fe6
prosodyctl: Require util.dependencies to run dependency checks, not only for when starting Prosody directly (thanks Joe)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 25 Jan 2010 20:58:15 +0000 |
| parent | 2455:0b3184f3c9e4 |
| child | 2510:97b5ea975cb9 |
comparison
equal
deleted
inserted
replaced
| 2496:f18b882af1d1 | 2497:810fb77b6fe6 |
|---|---|
| 29 end | 29 end |
| 30 end | 30 end |
| 31 | 31 |
| 32 -- Required to be able to find packages installed with luarocks | 32 -- Required to be able to find packages installed with luarocks |
| 33 pcall(require, "luarocks.require") | 33 pcall(require, "luarocks.require") |
| 34 | |
| 35 require "util.dependencies" | |
| 34 | 36 |
| 35 config = require "core.configmanager" | 37 config = require "core.configmanager" |
| 36 | 38 |
| 37 do | 39 do |
| 38 -- TODO: Check for other formats when we add support for them | 40 -- TODO: Check for other formats when we add support for them |