commit: 813980f0ceafc5816f556387d4332fdd78b9f2a4
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Apr 11 06:46:03 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=813980f0
perl-module.eclass: Fatalize pkg_postrm 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 bce191e76..c68d13173 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -452,10 +452,8 @@ perl-module_pkg_postinst() {
perl-module_pkg_postrm() {
debug-print-function $FUNCNAME "$@"
if [[ ${CATEGORY} != perl-core ]] ; then
- eqawarn "perl-module.eclass: You are calling
perl-module_pkg_postrm 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_postrm outside the perl-core category."
+ die " This does not do anything; the call can be removed."
fi
perl_link_duallife_scripts
}