diff options
author | Sam James <sam@gentoo.org> | 2021-10-07 03:46:54 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-07 03:46:54 +0100 |
commit | 04aeea5c0f2dfd4be2f2be64b91d579e1a92dd05 (patch) | |
tree | 5278d1a56ef389b55f77900418722a09479cf87d /app-text | |
parent | net-analyzer/wireshark: add 3.4.9 (diff) | |
download | gentoo-04aeea5c0f2dfd4be2f2be64b91d579e1a92dd05.tar.gz gentoo-04aeea5c0f2dfd4be2f2be64b91d579e1a92dd05.tar.bz2 gentoo-04aeea5c0f2dfd4be2f2be64b91d579e1a92dd05.zip |
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>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild | 3 | ||||
-rw-r--r-- | app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild index faaa5b36fd23..ea434173b02e 100644 --- a/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild +++ b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild @@ -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?" } diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild index 48f66b4d572f..d3143b3652b1 100644 --- a/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild +++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild @@ -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?" } |