diff options
author | Norbert Preining <norbert@preining.info> | 2021-04-20 08:06:11 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-05-09 10:58:55 +0900 |
commit | 974a4a5678ba549d6dc673547cc8e883db6cf6c3 (patch) | |
tree | e0c7656569e29fbeaa2fff603df3c976cf680935 /Master | |
parent | 621564875ceec62c0706c219ee14e3be8edfc8d9 (diff) |
fmtutil: remove todo and add explanatory text
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 0ced1ec96a4..b740b21eb9c 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -161,9 +161,10 @@ sub main { # (and nothing else), since kpathsea can only deal with one. $mktexfmtMode = 1; - # TODO TODO - # which mode are we running in? - # what happens if root runs mktexfmt? + # we default to user mode here, in particular because **if** TEXMFSYSVAR + # is writable we will use it to save format dumps created by mktexfmt + # If root is running mktexfmt, then most probably the formats will end + # up in TEXMFSYSVAR which is fine. $opts{'user'} = 1; GetOptions ( "help" => \$opts{'help'}, "version" => \$opts{'version'} ) |