dev-tex/feynmf: Check for sane TEXMF path.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2020-01-19 14:52:38 +01:00
parent 81059b96d9
commit f16597ee49
+2 -1
View File
@@ -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