diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-11-06 19:02:41 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-11-06 19:02:41 +0000 |
commit | eee56a2ad9ba11930374625bc73668f8cbd0f0e2 (patch) | |
tree | d6dbbf4883ddb18083ff479602459c41da648ded /eclass | |
parent | Stable for HPPA (bug #245638). (diff) | |
download | gentoo-2-eee56a2ad9ba11930374625bc73668f8cbd0f0e2.tar.gz gentoo-2-eee56a2ad9ba11930374625bc73668f8cbd0f0e2.tar.bz2 gentoo-2-eee56a2ad9ba11930374625bc73668f8cbd0f0e2.zip |
Use cp -pR for installing the texmf tree so that file permissions are preserved. Bug #245117
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 3f04fcab6efe..9c967032b100 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.19 2008/10/31 15:16:28 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.20 2008/11/06 19:02:41 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -208,17 +208,17 @@ texlive-module_src_install() { [ -f "${i}" ] && etexlinks "${i}" done - insinto /usr/share + dodir /usr/share if [ -z "${PN##*documentation*}" ] || use doc; then - [ -d texmf-doc ] && doins -r texmf-doc + [ -d texmf-doc ] && cp -pR texmf-doc "${D}/usr/share/" else [ -d texmf/doc ] && rm -rf texmf/doc [ -d texmf-dist/doc ] && rm -rf texmf-dist/doc fi - [ -d texmf ] && doins -r texmf - [ -d texmf-dist ] && doins -r texmf-dist - [ -n "${PV##2007*}" ] && [ -d tlpkg ] && use source && doins -r tlpkg + [ -d texmf ] && cp -pR texmf "${D}/usr/share/" + [ -d texmf-dist ] && cp -pR texmf-dist "${D}/usr/share/" + [ -n "${PV##2007*}" ] && [ -d tlpkg ] && use source && cp -pR tlpkg "${D}/usr/share/" insinto /var/lib/texmf [ -d texmf-var ] && doins -r texmf-var/* |