summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-04-04 11:33:54 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-04-04 11:34:32 +0300
commit01de903e25b29fc14e49f510fdf6bb5897473f33 (patch)
tree2501242c08e4bd34d63c0b8948b1331ee3cb0845 /dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
parentgames-misc/bsd-games: flag-o-matic-- (diff)
downloadgentoo-01de903e25b29fc14e49f510fdf6bb5897473f33.tar.gz
gentoo-01de903e25b29fc14e49f510fdf6bb5897473f33.tar.bz2
gentoo-01de903e25b29fc14e49f510fdf6bb5897473f33.zip
dev-texlive/texlive-metapost: do not strip slash again
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild')
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
index f543f92cc76e..2c878bdb5760 100644
--- a/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2021.ebuild
@@ -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
+ 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"
+ rm -f "${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
fi
}