summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:22:03 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:22:03 +0100
commit37f6296be2f9be7857d3c2bb89f4998a84474c8d (patch)
tree4ceb645b209ba0c222b2ef7a802b850675b332b6 /dev-texlive/texlive-metapost
parentdev-scheme/scm: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-37f6296be2f9be7857d3c2bb89f4998a84474c8d.tar.gz
gentoo-37f6296be2f9be7857d3c2bb89f4998a84474c8d.tar.bz2
gentoo-37f6296be2f9be7857d3c2bb89f4998a84474c8d.zip
dev-texlive/texlive-metapost: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-texlive/texlive-metapost')
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2019.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2019.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2019.ebuild
index 8e55519b92fa..92ad828684fd 100644
--- a/dev-texlive/texlive-metapost/texlive-metapost-2019.ebuild
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2019.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
- 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
}