mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
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:
@@ -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?"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user