mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user