svn path=/main/trunk/; revision=4701
export ECLASS="$1"
if [ "${EBUILD_PHASE}" != "depend" ] && \
- [ ${EBUILD_PHASE} != "cleanrm" ] && \
- [ ${EBUILD_PHASE} != "prerm" ] && \
- [ ${EBUILD_PHASE} != "postrm" ]; then
+ [[ ${EBUILD_PHASE} != *rm ]]; then
# This is disabled in the *rm phases because they frequently give
# false alarms due to INHERITED in /var/db/pkg being outdated
# in comparison the the eclasses from the portage tree.