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 | c730af83caba7aca9265230450ec337edb98ade1 (patch) | |
tree | 8c6a51dcc5c0d9d8fec99624fe834687ac556a6e /eclass | |
parent | Version bump (diff) | |
download | gentoo-2-c730af83caba7aca9265230450ec337edb98ade1.tar.gz gentoo-2-c730af83caba7aca9265230450ec337edb98ade1.tar.bz2 gentoo-2-c730af83caba7aca9265230450ec337edb98ade1.zip |
install formats in TEXMFSYSVAR, otherwise kpathsea will not find them
Diffstat (limited to '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" |