On 6/9/19 7:28 AM, Michał Górny wrote:
> _assert_pkg_ebuild_phase() {
> case ${EBUILD_PHASE} in
> - setup|preinst|postinst) ;;
> + setup|preinst|postinst|prerm|postrm) ;;
> *)
> eerror "'$1()' called from '${EBUILD_PHASE}' phase which is not
> OK:"
> eerror "You may only call from pkg_{setup,preinst,postinst}
> functions."
> The error message needs an update, too.
