summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-01-31 10:41:06 +0100
committerUlrich Müller <ulm@gentoo.org>2023-01-31 10:41:06 +0100
commit9145afe2a9cb5dd2d2670f90ebee3bea16a3635f (patch)
tree8323a00c4c0211d7bba1a5fe354169b2d32998c2 /dev-texlive/texlive-metapost
parentdev-ml/facile: drop stdlib-shims requirement (diff)
downloadgentoo-9145afe2a9cb5dd2d2670f90ebee3bea16a3635f.tar.gz
gentoo-9145afe2a9cb5dd2d2670f90ebee3bea16a3635f.tar.bz2
gentoo-9145afe2a9cb5dd2d2670f90ebee3bea16a3635f.zip
dev-texlive/texlive-metapost: Use ${EROOT} for ${ROOT}${EPREFIX}
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-texlive/texlive-metapost')
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
index 292f37d62c54..805943050edb 100644
--- a/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
@@ -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
}