commit: 73a0bc56fb219717618f974a4f1d96ea9fde69c7
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Apr 11 06:45:39 2016 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 00:07:35 2017 +0000
URL: https://gitweb.gentoo.org/proj/perl-overlay.git/commit/?id=73a0bc56
perl-module.eclass: Fatalize pkg_postinst outside perl-core
eclass/perl-module.eclass | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 18e559d68..bce191e76 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -437,10 +437,8 @@ perl-module_src_install() {
perl-module_pkg_postinst() {
debug-print-function $FUNCNAME "$@"
if [[ ${CATEGORY} != perl-core ]] ; then
- eqawarn "perl-module.eclass: You are calling
perl-module_pkg_postinst outside the perl-core category."
- eqawarn " This does not do anything; the call can be safely
removed."
- perl_qafatal "function" "$FUNCNAME is private to perl-core"
- return 0
+ eerror "perl-module.eclass: You are calling
perl-module_pkg_postinst outside the perl-core category."
+ die " This does not do anything; the call can be removed."
fi
perl_link_duallife_scripts
}