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

svn path=/main/branches/2.1.2/; revision=8579

bin/isolated-functions.sh

index b46f50a4d9ec917cd3968c78dcd6872b9d5742d7..673f1ad854432c37db72653e93cb4a9ed4bd2583 100644 (file)
@@ -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%/*}