diff options
author | Norbert Preining <preining@logic.at> | 2012-07-12 23:52:02 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2012-07-12 23:52:02 +0000 |
commit | fab2c232bddc27c767b611524ef3e8ef35b25c55 (patch) | |
tree | 378b13510938786d203948e4f344dbbd10a08121 /Master/tlpkg/TeXLive | |
parent | e3c6e657f396096f4406658bd2917dd46b7aa9f5 (diff) |
die if mktexlsr fails
git-svn-id: svn://tug.org/texlive/trunk@27017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 575ea5733d7..f9ac750477d 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -2704,7 +2704,9 @@ sub check_for_old_updmap_cfg { to $nn\n"; if (rename("$tmfsysconf/web2c/updmap.cfg", $nn)) { - system("mktexlsr",$tmfsysconf); + if (system("mktexlsr",$tmfsysconf) != 0) { + die "mktexlsr failed after updmap.cfg rename, fix fix fix: $!"; + } } else { print STDERR " Renaming did not succeed, note that |