Skip to content

Commit

Permalink
dev-texlive/texlive-metapost: Use ${EROOT} for ${ROOT}${EPREFIX}
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jan 31, 2023
1 parent 547ff67 commit 9145afe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 9145afe

Please sign in to comment.