diff options
author | David Seifert <soap@gentoo.org> | 2020-02-08 17:22:03 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-08 17:22:03 +0100 |
commit | 37f6296be2f9be7857d3c2bb89f4998a84474c8d (patch) | |
tree | 4ceb645b209ba0c222b2ef7a802b850675b332b6 /dev-texlive/texlive-metapost | |
parent | dev-scheme/scm: [QA] Fix UnnecessarySlashStrip (diff) | |
download | gentoo-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.ebuild | 6 |
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 } |