On Mon, May 11, 2009 at 18:38, Yue Wang wrote:
Hi, Hans and Mojca:
first, (to Mojca) the first-setup.sh script still deletes fontconfig cache when updating on windows.
Hmmm ... while experimenting a bit and after writing a long answer explaining that I'll come back to it after a while ... I figured out that I have already implemented a fix, but completely forgot about it. Hans, does this make sense? local normalflags = states.get("rsync.flags.normal") local deleteflags = "" if (destination:find("texmf$") or destination:find("context$")) and (not environment.argument("keep")) then deleteflags = states.get("rsync.flags.delete") end command = format("%s %s %s %s'%s' '%s'", bin, normalflags, deleteflags, url, archives, destination) This only adds the --delete flag to texmf-context and texmf, others are not touched. The consequence is that this won't delete your pdftex binary automatically if you decide that you only need LuaTeX one day, but I think that it makes sense as a temporary fix since: - it prevents deleting font cache - it reduces the need to recreate the formats when nothing has been updated Mojca