diff options
author | Alexis Ballier <aballier@gentoo.org> | 2014-11-02 18:02:58 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2014-11-02 18:02:58 +0000 |
commit | 9d367a64144f9fd875a5a6d96843fe4e7a7e5419 (patch) | |
tree | 23c3bd924991e9c2a8a0f353632942ad38629b0b /eclass | |
parent | Bug #527890: cleanup old versions. (diff) | |
download | historical-9d367a64144f9fd875a5a6d96843fe4e7a7e5419.tar.gz historical-9d367a64144f9fd875a5a6d96843fe4e7a7e5419.tar.bz2 historical-9d367a64144f9fd875a5a6d96843fe4e7a7e5419.zip |
do not config_protect files that shouldnt be: those in the tex/ or source/ tree. bug #488056
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-common.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 376b59460a91..d4982fd541f9 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.21 2014/03/18 16:52:10 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.22 2014/11/02 18:02:58 aballier Exp $ # @ECLASS: texlive-common.eclass # @MAINTAINER: @@ -38,7 +38,7 @@ texlive-common_handle_config_files() { [ -d "${ED}${TEXMF_PATH}" ] || return cd "${ED}${TEXMF_PATH}" for f in $(find . -name '*.cnf' -type f -o -name '*.cfg' -type f | sed -e "s:\./::g") ; do - if [ "${f#*config}" != "${f}" -o "${f#doc}" != "${f}" ] ; then + if [ "${f#*config}" != "${f}" -o "${f#doc}" != "${f}" -o "${f#source}" != "${f}" -o "${f#tex}" != "${f}" ] ; then continue fi dodir /etc/texmf/$(dirname ${f}).d |