summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-21 08:29:52 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-21 08:29:52 +0000
commitfcdcb431f6ec06c48c8c3e34a7171e349850ac16 (patch)
treed41373269407a47957d9f02d282c7b82e6a878f8 /bin/isolated-functions.sh
parent26b08c85ebfdefd7ab1fdb547a562808efba67c0 (diff)
downloadportage-fcdcb431f6ec06c48c8c3e34a7171e349850ac16.tar.gz
portage-fcdcb431f6ec06c48c8c3e34a7171e349850ac16.tar.bz2
portage-fcdcb431f6ec06c48c8c3e34a7171e349850ac16.zip
Fix the diefunc overlay message so that it doesn't trigger
falsely in prerm or postrm. svn path=/main/trunk/; revision=8578
Diffstat (limited to 'bin/isolated-functions.sh')
-rwxr-xr-xbin/isolated-functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index b46f50a4d..673f1ad85 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -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%/*}