From b77e9bd48b1fddac271cc4c7b0da794438abb64b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 22 Apr 2021 00:45:39 +0000 Subject: fmtutil: remove todo and add explanatory text git-svn-id: svn://tug.org/texlive/trunk@58957 c570f23f-e606-0410-a88d-b1316a301751 --- 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