diff options
author | Norbert Preining <preining@logic.at> | 2012-01-12 02:48:37 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2012-01-12 02:48:37 +0000 |
commit | 8486ffb4f93c31f7f1d70724be202834bf530b4e (patch) | |
tree | c9cd50febcc8a8e081dceba34df6e4e257776830 | |
parent | 4afe853f4e9d191db75c1abc8df3b14cfac75bb1 (diff) |
small fix to find updmap-local.cfg under certain circumstances
git-svn-id: svn://tug.org/texlive/trunk@25074 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/mupdmap.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/mupdmap.pl b/Master/texmf/scripts/texlive/mupdmap.pl index ea1900cd153..f3f67cf207f 100755 --- a/Master/texmf/scripts/texlive/mupdmap.pl +++ b/Master/texmf/scripts/texlive/mupdmap.pl @@ -226,6 +226,10 @@ sub main { warning("Old configuration file TEXMFLOCAL/web2c/updmap-local.cfg found!\n"); if ($found) { warning("Will read this file *instead* of TEXMFLOCAL/web2c/updmap.cfg!!!\n"); + } else { + # if TEXMFLOCAL updmap.cfg does not exist, we have to make sure + # that the replacement is added to the list of updmap files + push @used_files, "$TMLabs/web2c/updmap-local.cfg"; } warning("Please consider moving the information from updmap-local.cfg to TEXMFLOCAL/web2c/updmap.cfg\n"); } |