summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-04-11 18:46:03 +1200
committerKent Fredric <kentnl@gentoo.org>2017-09-17 12:07:35 +1200
commit813980f0ceafc5816f556387d4332fdd78b9f2a4 (patch)
tree31d22e12556456882c12c2925cf778d5b84cce70 /eclass
parentperl-module.eclass: Fatalize pkg_postinst outside perl-core (diff)
downloadperl-overlay-813980f0ceafc5816f556387d4332fdd78b9f2a4.tar.gz
perl-overlay-813980f0ceafc5816f556387d4332fdd78b9f2a4.tar.bz2
perl-overlay-813980f0ceafc5816f556387d4332fdd78b9f2a4.zip
perl-module.eclass: Fatalize pkg_postrm outside perl-core
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
}