app-text/build-docbook-catalog: 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>
This commit is contained in:
Sam James
2021-10-07 03:46:54 +01:00
parent b9e1235bd2
commit 04aeea5c0f
2 changed files with 4 additions and 2 deletions
@@ -34,5 +34,6 @@ src_configure() {
pkg_postinst() {
# New version -> regen files
build-docbook-catalog
# See bug #816303 for rationale behind die
build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?"
}
@@ -32,5 +32,6 @@ src_configure() {
pkg_postinst() {
# New version -> regen files
build-docbook-catalog
# See bug #816303 for rationale behind die
build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?"
}