summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass6
1 files 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
}