aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
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