commit: bad0bc11d42710957c6d6786a9db381308e55c4b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Oct 7 02:47:27 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 7 02:47:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad0bc11
app-text/docbook-xsl-stylesheets: die on failed build-docbook-catalog Fail loudly if build-docbook-catalog wasn't successful; this is likely due to /run not being (bind-)mounted (in chroots/new installs). Bug: https://bugs.gentoo.org/816303 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Sam James <sam <AT> gentoo.org> .../docbook-xsl-stylesheets-1.79.1-r2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild index 57242978424..1e1416abedf 100644 --- a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild @@ -94,9 +94,11 @@ EOF } pkg_postinst() { - build-docbook-catalog + # See bug #816303 for rationale behind die + build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" } pkg_postrm() { - build-docbook-catalog + # See bug #816303 for rationale behind die + build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" }