dev-texlive/texlive-metapost: Drop slashstrip
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 17 Apr 2020 07:08:33 +0000 (10:08 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 17 Apr 2020 07:57:51 +0000 (10:57 +0300)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-texlive/texlive-metapost/texlive-metapost-2020.ebuild

index 9ba9e7830d16947c06bd6c2d964b6dde6c9b1cbc..cfb313497d7cb0740fe0fc6e3772e21ab257e55f 100644 (file)
@@ -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 "${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"
        fi
 }