From f9c29c18d8159669c3c9b5154e60e57107c6b978 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 29 Sep 2016 09:28:23 -0400 Subject: [PATCH] properly change TEXMFCACHE dir in context shell script --- texlive.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/texlive.spec b/texlive.spec index ae3c685..c45b65a 100644 --- a/texlive.spec +++ b/texlive.spec @@ -300030,7 +300030,6 @@ done popd # fix cache dir -sed -i 's|TEXMFCACHE=/var/lib/texmf;|$HOME/.cache/texlive;|g' %{buildroot}%{_bindir}/context sed -i 's|~/.texlive2016|~/.cache/texlive|g' %{buildroot}%{_sysconfdir}/texlive/web2c/texmf.cnf # install shared libs, nuke static ones @@ -300109,7 +300108,7 @@ cat > context << EOF #!/bin/sh export TEXMF=/usr/share/texlive/texmf-dist; export TEXMFCNF=/usr/share/texlive/texmf-dist/web2c; -export TEXMFCACHE=/var/lib/texmf; +export TEXMFCACHE=\$HOME/.cache/texlive; %{_bindir}/mtxrun --script context "\$@" EOF chmod 0755 context