commit: 490a17af5db5ccb57a6055ba941cf48a5a758be7 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Tue Mar 19 14:07:34 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Mar 19 14:07:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490a17af
dev-tex/hevea: call etexmf-update instead of custom logic Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-tex/hevea/hevea-2.36.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-tex/hevea/hevea-2.36.ebuild b/dev-tex/hevea/hevea-2.36.ebuild index 51948f1e861c..77d7572fe0a6 100644 --- a/dev-tex/hevea/hevea-2.36.ebuild +++ b/dev-tex/hevea/hevea-2.36.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit texlive-common + DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator" HOMEPAGE="https://hevea.inria.fr/" SRC_URI="https://hevea.inria.fr/distri/${P}.tar.gz" @@ -58,13 +60,9 @@ src_install() { # If latex is installed later, it will see hevea.sty pkg_postinst() { - if [[ -z "${ROOT}" ]] && [[ -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; then - "${EPREFIX}"/usr/sbin/texmf-update || die "texmf-update returned non-zero exit status ${?}" - fi + etexmf-update } pkg_postrm() { - if [[ -z "${ROOT}" ]] && [[ -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; then - "${EPREFIX}"/usr/sbin/texmf-update || die "texmf-update returned non-zero exit status ${?}" - fi + etexmf-update }
