[tex-k] Patch for a bug in mktexlsr.pl

Norbert Preining norbert at preining.info
Thu Jun 27 05:17:05 CEST 2024


Hi Martin, hi Reinhard,

>  > if my report is wrong: https://bugs.gentoo.org/934975

Thanks

>  >  	texmf-dist/scripts/texlive/mktexlsr
>  >  	texmf-dist/scripts/texlive/mktexlsr.pl
>  > 
>  > but the later symlink will overwrite the former symlink
>  > (as the appendix is removed for the symlink).

Ouch. The second one should be removed. It should NOT be linked, but the
file MUST remain in scripts/texlive/mktexlsr.pl!

> The Perl script is needed on Windows only because we can't execute
> shell scripts there.  And it's well maintained and tested (maybe not
> by Norbert because he's on Unix for reasons I understand very well).
> At least no Windows user complained so far.

@Reinhard, this is incorrect, and your comment is also incorrect, please
be more careful what you state.

fmtutil.pl use mktexlsr, it starts with

  unshift(@INC, "$TEXMFROOT/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive");
  require "mktexlsr.pl";


> A symlink to the Perl script mktexlsr.pl should *never* be created on
> any Unix system.

That is correct. But the file MUST remain on the system since it is used
by fmtutil

Best regards

Norbert

--
PREINING Norbert                              https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-k mailing list.