From f16597ee4973d593a2f3dc738fe8a53bbb401ff0 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sun, 19 Jan 2020 14:51:29 +0100 Subject: dev-tex/feynmf: Check for sane TEXMF path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ulrich Müller --- dev-tex/feynmf/feynmf-1.08-r6.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev-tex/feynmf') diff --git a/dev-tex/feynmf/feynmf-1.08-r6.ebuild b/dev-tex/feynmf/feynmf-1.08-r6.ebuild index 403fe57242a6..5e44a538c9d0 100644 --- a/dev-tex/feynmf/feynmf-1.08-r6.ebuild +++ b/dev-tex/feynmf/feynmf-1.08-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -47,6 +47,7 @@ src_install() { dodoc README manual.ps template.tex docompress -x /usr/share/doc/${PF}/manual.ps # TEXMF is /usr/share/ plus one further path component + [[ ${TEXMF#/usr/share/} != */* ]] || die "Bad TEXMF path ${TEXMF}" dosym ../../../../doc/${PF}/manual.ps \ ${TEXMF}/doc/latex/${PN}/${PN}-manual.ps -- cgit v1.2.3-65-gdbad