diff --git a/editor/tex/texlive-core/actions.py b/editor/tex/texlive-core/actions.py index 8b3d342c14..9f3ef851de 100644 --- a/editor/tex/texlive-core/actions.py +++ b/editor/tex/texlive-core/actions.py @@ -37,7 +37,7 @@ def install(): # clean config files pisitools.dosed("tex/generic/config", "DO NOT EDIT", deleteLine=True, filePattern="language\.d..$") pisitools.dosed("texmf-dist/web2c/updmap.cfg", "^(#!\s*)?(Map|MixedMap)", deleteLine=True) - pisitools.dosed("%s/usr/share/texmf-dist/web2c/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True) + pisitools.dosed("%s/usr/share/texmf-dist/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True) # install config files cfs = ["chktex/chktexrc", @@ -65,7 +65,7 @@ def install(): #shelltools.system("texmf-dist/scripts/texlive/texlinks.sh -f %s/usr/share/texmf-dist/web2c/fmtutil.cnf %s/usr/bin" % ((get.installDIR(), ) * 2)) # remove upstream updmap.cfg: it contains too many maps - pisitools.remove("/usr/share/texmf-dist/web2c/updmap.cfg") + pisitools.remove("/usr/share/texmf-dist/updmap.cfg") # remove unneeded dir pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/mswin")