update-tlmgr-latest.sh.sha512
jfbu
jfbu at free.fr
Tue Mar 2 14:43:09 CET 2021
Le 2 mars 2021 à 14:25, Norbert Preining <preining at logic.at> a écrit :
>>
>> tlmgr revision 57970 (2021-02-27 15:17:34 +0100)
>> tlmgr using installation: /usr/local/texlive/2020
>
> That is where the script is actually located, found via resolving
> symlinks.
>
>> texmf.cnf: /usr/local/texlive/2020/texmf.cnf
>> texmf.cnf: /usr/local/texlive/2020/texmf-local/web2c/texmf.cnf
>> texmf.cnf: /usr/local/texlive/2020/texmf-dist/web2c/texmf.cnf
>
> Which texmf.cnf, there might be more than one.
At the above absolute paths there are
indeed the indicated files with varying contents.
The second one (in texmf-local) is a left-over created by myself
years ago, its contents are comment out.
Its resolved path is printed but tlmgr conf also says
TEXMFLOCAL=/usr/local/texlive/2021/texmf-local
so I figured the path resolving is hard coded somewhere
and I can't change tlmgr conf output
>
>> Are these paths anyhow necessarily completely resolved or is it
>> possible to trick tlmgr into reporting 2021 in place of 2020 ?
>
> Not for the first case, and for the second I need to know which
> texmf.cnf file.
Thanks, not sure what you mean by "which texmf.cnf file"
I try to describe above for the second one (left-over artefact
from old years, contents commented out),
the first one is where I configure local changes suitable
to a Mac OS directory system
TEXMFLOCAL = $SELFAUTOPARENT/texmf-local
TEXMFHOME = ~/Library/texmf
TEXMFVAR = ~/Library/texlive/2021/texmf-var
TEXMFCONFIG = ~/Library/texlive/2021/texmf-config
as is advised in the comments.
And the
/usr/local/texlive/2020/texmf-dist/web2c/texmf.cnf
is the unmodified TeXLive one which starts with
% original texmf.cnf -- runtime path configuration file for kpathsea.
% Public domain.
%
% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
% updated. Instead, put your changes -- and only your changes, not an
% entire copy! -- in ../../texmf.cnf. That is, if this file is
% installed in /some/path/to/texlive/2021/texmf-dist/web2c/texmf.cnf,
% put your custom settings in /some/path/to/texlive/2021/texmf.cnf.
% (Below, we use YYYY in place of the specific year.)
Best,
More information about the tex-live
mailing list.