1 |
commit: f16597ee4973d593a2f3dc738fe8a53bbb401ff0 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 19 13:51:29 2020 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 13:52:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16597ee |
7 |
|
8 |
dev-tex/feynmf: Check for sane TEXMF path. |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
dev-tex/feynmf/feynmf-1.08-r6.ebuild | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-tex/feynmf/feynmf-1.08-r6.ebuild b/dev-tex/feynmf/feynmf-1.08-r6.ebuild |
17 |
index 403fe57242a..5e44a538c9d 100644 |
18 |
--- a/dev-tex/feynmf/feynmf-1.08-r6.ebuild |
19 |
+++ b/dev-tex/feynmf/feynmf-1.08-r6.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -47,6 +47,7 @@ src_install() { |
27 |
dodoc README manual.ps template.tex |
28 |
docompress -x /usr/share/doc/${PF}/manual.ps |
29 |
# TEXMF is /usr/share/ plus one further path component |
30 |
+ [[ ${TEXMF#/usr/share/} != */* ]] || die "Bad TEXMF path ${TEXMF}" |
31 |
dosym ../../../../doc/${PF}/manual.ps \ |
32 |
${TEXMF}/doc/latex/${PN}/${PN}-manual.ps |