diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-10-17 14:34:09 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-10-17 14:34:09 +0000 |
commit | 89eb59a93408ae4f06a78fe076fcff742c3e5e8d (patch) | |
tree | c1b8ae8f550a118f2a8d3a885d9d44c823251e81 /eclass/texlive-module.eclass | |
parent | Version bump (diff) | |
download | historical-89eb59a93408ae4f06a78fe076fcff742c3e5e8d.tar.gz historical-89eb59a93408ae4f06a78fe076fcff742c3e5e8d.tar.bz2 historical-89eb59a93408ae4f06a78fe076fcff742c3e5e8d.zip |
install formats in TEXMFSYSVAR, otherwise kpathsea will not find them
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 657217d2de1f..e055875f970e 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.1 2007/10/14 07:47:10 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.2 2007/10/17 14:34:09 aballier Exp $ # # Original Author: Alexis Ballier <aballier@gentoo.org> @@ -84,8 +84,11 @@ texlive-module_src_install() { insinto /usr/share [ -d texmf ] && doins -r texmf [ -d texmf-dist ] && doins -r texmf-dist - [ -d texmf-var ] && doins -r texmf-var use doc && [ -d texmf-doc ] && doins -r texmf-doc + + TEXMFSYSVAR="$(kpsewhich -var-value=TEXMFSYSVAR)" + insinto "${TEXMFSYSVAR}" + [ -d texmf-var ] && doins -r texmf-var/* insinto /etc/texmf/updmap.d [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" |