From 96a527b89aee11b080f31e49af920c475f084b33 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 18 Mar 2013 19:40:20 +0200 Subject: beta 2013.03.18 18:20 --- scripts/context/lua/mtxlibs.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/context/lua/mtxlibs.lua') diff --git a/scripts/context/lua/mtxlibs.lua b/scripts/context/lua/mtxlibs.lua index 9559e33d5..38c040b41 100644 --- a/scripts/context/lua/mtxlibs.lua +++ b/scripts/context/lua/mtxlibs.lua @@ -49,9 +49,10 @@ if not modules then modules = { } end modules ['mtxlibs'] = { -- the for context handy option to expose them in the normal ones. I might make the dependencies -- less but it probably makes no sense to waste time on them. -if not lpeg then require("lpeg") end --- not md5 then require("md5") end -- once we have the libs --- not lfs then require("lfs") end -- once we have the libs +if not lpeg then require("lpeg") end +if not md5 then xpcall(require,function() end,"md5") end +if not lfs then xpcall(require,function() end,"lfs") end +if not unicode then xpcall(require,function() end,"slunicode") end -- begin library merge -- cgit v1.2.3