# HG changeset patch # User Matthew Wild # Date 1258997509 0 # Node ID a6608ccab38321fc1eeeb4e5d0f287b1fb5463a7 # Parent 7810648ea26d35e75c50ddebf9233114a64abf55 util.dependencies: Add LuaFileSystem as a hard dependency diff -r 7810648ea26d -r a6608ccab383 util/dependencies.lua --- 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