summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-01-19 14:51:29 +0100
committerUlrich Müller <ulm@gentoo.org>2020-01-19 14:52:38 +0100
commitf16597ee4973d593a2f3dc738fe8a53bbb401ff0 (patch)
treea45eda52f24629f86ebc539c5d6b1139b0b8a3c3 /dev-tex
parentapp-admin/qtpass: Drop 1.2.3 (diff)
downloadgentoo-f16597ee4973d593a2f3dc738fe8a53bbb401ff0.tar.gz
gentoo-f16597ee4973d593a2f3dc738fe8a53bbb401ff0.tar.bz2
gentoo-f16597ee4973d593a2f3dc738fe8a53bbb401ff0.zip
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>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/feynmf/feynmf-1.08-r6.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-tex/feynmf/feynmf-1.08-r6.ebuild b/dev-tex/feynmf/feynmf-1.08-r6.ebuild
index 403fe57242a..5e44a538c9d 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