diff --git a/dev-tex/feynmf/feynmf-1.08-r6.ebuild b/dev-tex/feynmf/feynmf-1.08-r6.ebuild index 403fe57242a62..5e44a538c9d00 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