mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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>
This commit is contained in:
@@ -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?"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user