texlive: patch texmf.cnf to point towards correct path
Necessary after files have been moved to standard path. Also add remove file from texlive to avoid file clash with texlive-bin.
This commit is contained in:
parent
5e08ebac2e
commit
3aa89f668c
@ -130,7 +130,8 @@ termux_step_post_make_install () {
|
|||||||
mv $TL_BINDIR/tlmgr $TL_BINDIR/tlmgr.ln
|
mv $TL_BINDIR/tlmgr $TL_BINDIR/tlmgr.ln
|
||||||
echo "#!$TERMUX_PREFIX/bin/sh" > $TL_BINDIR/tlmgr
|
echo "#!$TERMUX_PREFIX/bin/sh" > $TL_BINDIR/tlmgr
|
||||||
echo "termux-fix-shebang $TL_ROOT/texmf-dist/scripts/texlive/tlmgr.pl" >> $TL_BINDIR/tlmgr
|
echo "termux-fix-shebang $TL_ROOT/texmf-dist/scripts/texlive/tlmgr.pl" >> $TL_BINDIR/tlmgr
|
||||||
echo "sed -i 's%`kpsewhich -var-value=SELFAUTOPARENT`);%`kpsewhich -var-value=TEXMFROOT`);%g' $TL_ROOT/texmf-dist/scripts/texlive/tlmgr.pl" >> $TL_BINDIR/tlmgr
|
echo "sed -i 's%\`kpsewhich -var-value=SELFAUTOPARENT\`);%\`kpsewhich -var-value=TEXMFROOT\`);%g' $TL_ROOT/texmf-dist/scripts/texlive/tlmgr.pl" >> $TL_BINDIR/tlmgr
|
||||||
|
|
||||||
echo "sed -E -i '"'s@`/bin/sh@`'$TERMUX_PREFIX"/bin/sh@g' ${TL_ROOT}/tlpkg/TeXLive/TLUtils.pm" >> $TL_BINDIR/tlmgr
|
echo "sed -E -i '"'s@`/bin/sh@`'$TERMUX_PREFIX"/bin/sh@g' ${TL_ROOT}/tlpkg/TeXLive/TLUtils.pm" >> $TL_BINDIR/tlmgr
|
||||||
echo 'tlmgr.ln "$@"' >> $TL_BINDIR/tlmgr
|
echo 'tlmgr.ln "$@"' >> $TL_BINDIR/tlmgr
|
||||||
chmod 0744 $TL_BINDIR/tlmgr
|
chmod 0744 $TL_BINDIR/tlmgr
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
% Local additions to the distribution trees.
|
% Local additions to the distribution trees.
|
||||||
-TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
|
-TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
|
||||||
+TEXMFLOCAL = TEXMFROOT/texmf-local
|
+TEXMFLOCAL = $TEXMFROOT/texmf-local
|
||||||
|
|
||||||
% TEXMFSYSVAR, where *-sys store cached runtime data.
|
% TEXMFSYSVAR, where *-sys store cached runtime data.
|
||||||
TEXMFSYSVAR = $TEXMFROOT/texmf-var
|
TEXMFSYSVAR = $TEXMFROOT/texmf-var
|
||||||
|
@ -142,4 +142,5 @@ share/texlive/tlpkg/tlpostcode/xetex/conf/fonts.conf
|
|||||||
share/texlive/tlpkg/tlpostcode/xetex/conf/fonts.dtd
|
share/texlive/tlpkg/tlpostcode/xetex/conf/fonts.dtd
|
||||||
share/texlive/tlpkg/tlpostcode/xetex/conf/conf.d/51-local.conf
|
share/texlive/tlpkg/tlpostcode/xetex/conf/conf.d/51-local.conf
|
||||||
share/texlive/tlpkg/tlpostcode/xetex/cache/readme.txt
|
share/texlive/tlpkg/tlpostcode/xetex/cache/readme.txt
|
||||||
share/texlive/tlpkg/tlpostcode/ptex2pdf-tlpost.pl"
|
share/texlive/tlpkg/tlpostcode/ptex2pdf-tlpost.pl
|
||||||
|
share/texlive/texmf-dist/web2c/texmf.cnf"
|
||||||
|
Loading…
Reference in New Issue
Block a user