diff options
author | Norbert Preining <preining@logic.at> | 2010-05-12 17:13:46 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-05-12 17:13:46 +0000 |
commit | 6c2d3d4c8d16ce1ea5c0fa04088e09fe433497aa (patch) | |
tree | b59a71cf61239653405431fa9afa9ea30075045f /Master/texmf | |
parent | 7a431533ca4d79f8150eaab8e4875b6ff897d00f (diff) |
add support for execute action addLuaMap
git-svn-id: svn://tug.org/texlive/trunk@18212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index e4dca67dea4..85b53f8fdf2 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -551,6 +551,20 @@ sub handle_execute_actions } # + # addLuaMap handling + # if defined simply run the magic script + { + if (defined($::execute_actions{$type}{'luamaps'}{'run'})) { + # check for the existence, the PATH should be set up already + if (which("mkluatexfontdb-sys")) { + $errors += do_cmd_and_check("mkluatexfontdb-sys"); + } else { + log("tlmgr addLuaMap handling: mkluatexfontdb-sys not found, not running it.\n"); + } + } + } + + # # maps handling # if enabled and disabled -> do nothing # if only enabled -> enable it |