diff options
author | Sam James <sam@gentoo.org> | 2021-10-07 03:47:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-07 03:47:19 +0100 |
commit | cb200416b701b9c4bcbcec2dea3db8a23f3f73f0 (patch) | |
tree | eeb69ede6d5a7172d92ffc87f78ee4055eb5a21b /app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild | |
parent | app-text/docbook-xml-simple-dtd: die on failed build-docbook-catalog (diff) | |
download | gentoo-cb200416b701b9c4bcbcec2dea3db8a23f3f73f0.tar.gz gentoo-cb200416b701b9c4bcbcec2dea3db8a23f3f73f0.tar.bz2 gentoo-cb200416b701b9c4bcbcec2dea3db8a23f3f73f0.zip |
app-text/docbook-xsl-ns-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@gentoo.org>
Diffstat (limited to 'app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild')
-rw-r--r-- | app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild index 1755483b705e..d45bb7f26562 100644 --- a/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild +++ b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild @@ -72,9 +72,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?" } |