dev-texlive/texlive-metapost: Use ${EROOT} for ${ROOT}${EPREFIX}

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2023-01-31 10:41:06 +01:00
parent 547ff673f2
commit 9145afe2a9

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -24,8 +24,8 @@ RDEPEND="${DEPEND} "
# created and cause collisions.
pkg_setup() {
if [ -f "${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
einfo "Removing ${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
rm -f "${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
if [[ -f ${EROOT}/var/lib/texmf/web2c/metapost/mplib-luatex.mem ]]; then
einfo "Removing ${EROOT}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
rm -f "${EROOT}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
fi
}