diff options
author | Marius <mariausol@gmail.com> | 2012-01-10 13:33:35 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-01-10 13:33:35 +0200 |
commit | d44c3d2b9ac2a797c610b9b472527119c08bf206 (patch) | |
tree | 09dca91a6255797b040b88c2ea348e162c0842e4 /scripts | |
parent | 2ee95c7070f4d16d25209332378cb27e599292f7 (diff) | |
download | context-d44c3d2b9ac2a797c610b9b472527119c08bf206.tar.gz |
beta 2012.01.09 10:08
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-interface.lua | 3 | ||||
-rw-r--r-- | scripts/context/lua/mtx-update.lua | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-interface.lua b/scripts/context/lua/mtx-interface.lua index db66d4eed..f52fde345 100644 --- a/scripts/context/lua/mtx-interface.lua +++ b/scripts/context/lua/mtx-interface.lua @@ -401,7 +401,8 @@ function scripts.interface.interfaces() end function scripts.interface.preprocess() - require("luat-mac.lua") + dofile(resolvers.findfile("luat-mac.lua")) + -- require("luat-mac.lua") local newsuffix = environment.argument("suffix") or "log" local force = environment.argument("force") for i=1,#environment.files do diff --git a/scripts/context/lua/mtx-update.lua b/scripts/context/lua/mtx-update.lua index cb12b99ce..52c72da6d 100644 --- a/scripts/context/lua/mtx-update.lua +++ b/scripts/context/lua/mtx-update.lua @@ -401,7 +401,7 @@ function scripts.update.synchronize() if not environment.argument("force") then dryrunflags = "--dry-run" end - if (destination:find("texmf$") or destination:find("texmf%-context$")) and (not environment.argument("keep")) then + if (destination:find("texmf$") or destination:find("texmf%-context$") or destination:find("texmf%-modules$")) and (not environment.argument("keep")) then deleteflags = states.get("rsync.flags.delete") end command = format("%s %s %s %s %s'%s' '%s'", bin, normalflags, deleteflags, dryrunflags, url, archives, destination) |