texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220)

As discussed in
https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057
This commit is contained in:
clefru 2019-05-10 14:50:09 +02:00 committed by Dmitry Kalinkin
parent b93d3473d3
commit 5d14340cba

View file

@ -126,8 +126,6 @@ in buildEnv {
patchCnfLua "./texmfcnf.lua"
mkdir $out/share/texmf-local
rm updmap.cfg
)
'' +
# updmap.cfg seems like not needing changes
@ -216,7 +214,7 @@ in buildEnv {
texlinks.sh "$out/bin" && wrapBin
(perl `type -P fmtutil.pl` --sys --all || true) | grep '^fmtutil' # too verbose
#texlinks.sh "$out/bin" && wrapBin # do we need to regenerate format links?
perl `type -P updmap.pl` --sys --syncwithtrees --force
echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure
'' +
# install (wrappers for) scripts, based on a list from upstream texlive