diff options
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) |