From 974a4a5678ba549d6dc673547cc8e883db6cf6c3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 20 Apr 2021 08:06:11 +0900 Subject: fmtutil: remove todo and add explanatory text --- Master/texmf-dist/scripts/texlive/fmtutil.pl | 7 ++++--- 1 file 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'} ) -- cgit v1.2.3