[tex-live] TLU update fails (non-corporate MacOS machine)

Adam R. Maxwell amaxwell at mac.com
Mon Jul 30 04:53:44 CEST 2018



> On Jun 21, 2018, at 19:55 , Norbert Preining <preining at logic.at> wrote:
> 
> On Thu, 21 Jun 2018, Adam R. Maxwell wrote:
>>> How do I tell TLU to use /usr/local/MacGPG2/bin/gpg2?
>> 
>> Hack TLCrypto.pm or TLU yourself.
> 
> No need.
> 
> It already does:
>  * check for TL_GNUPG env var
>  * check for gpg in the PATH
>  * check for gpg2 in the PATH
>  * check for TL shipped gpg if available

The last is the only one that will work for TLU, FYI, unless
gpg or gpg2 is in /usr/bin. I sanitize the PATH pretty
heavily, and no longer allow even /usr/local/bin due to ancient
broken stuff that users keep in it. TL_GNUPG env var should
work if you know how to make GUI processes inherit it.
Anyone who is interested in why I do this can read the comments
in TLMEnvironment.m.

https://github.com/amaxwell/tlutility/blob/master/TLMEnvironment.m

-- adam



More information about the tex-live mailing list