Software /
code /
prosody
Changeset
2156:a6608ccab383
util.dependencies: Add LuaFileSystem as a hard dependency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Nov 2009 17:31:49 +0000 |
parents | 2090:7810648ea26d |
children | 2157:7cb0aa497326 |
files | util/dependencies.lua |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/dependencies.lua Fri Nov 20 15:07:39 2009 +0000 +++ b/util/dependencies.lua Mon Nov 23 17:31:49 2009 +0000 @@ -41,6 +41,15 @@ fatal = true; end +local lfs, err = softreq "lfs" +if not lfs then + missingdep("luafilesystem", { ["luarocks"] = "luarocks install luafilesystem"; + ["Ubuntu 8.04 (Hardy)"] = "sudo apt-get install liblua5.1-luafilesystem0"; + ["Source"] = "http://www.keplerproject.org/luafilesystem/"; + }); + fatal = true; +end + local ssl = softreq "ssl" if not ssl then