aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-23 17:31:49 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-23 17:31:49 +0000
commitb3b272859867ff184d622969f903ffcc60e7b906 (patch)
tree9350222d887f2e71605074ede26015ad5e66d33f /util
parent4ffd18797a4dba84d14d928deaec72e5c1becc97 (diff)
downloadprosody-b3b272859867ff184d622969f903ffcc60e7b906.tar.gz
prosody-b3b272859867ff184d622969f903ffcc60e7b906.zip
util.dependencies: Add LuaFileSystem as a hard dependency
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 5b07072f..a0f4e453 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -41,6 +41,15 @@ if not socket then
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