Fix the diefunc overlay message so that it doesn't trigger
authorZac Medico <zmedico@gentoo.org>
Wed, 21 Nov 2007 08:29:52 +0000 (08:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 21 Nov 2007 08:29:52 +0000 (08:29 -0000)
falsely in prerm or postrm.

svn path=/main/trunk/; revision=8578

bin/isolated-functions.sh

index b46f50a4d9ec917cd3968c78dcd6872b9d5742d7..673f1ad854432c37db72653e93cb4a9ed4bd2583 100755 (executable)
@@ -96,6 +96,7 @@ diefunc() {
                done
        fi
        if [ "${EMERGE_FROM}" != "binary" ] && \
+               ! hasq ${EBUILD_PHASE} prerm postrm && \
                [ "${EBUILD#${PORTDIR}/}" == "${EBUILD}" ] ; then
                local overlay=${EBUILD%/*}
                overlay=${overlay%/*}