summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-21 08:32:35 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-21 08:32:35 +0000
commitec69d9ccbb3695e21a4324bd9ed27c14ea2469f9 (patch)
treef1fbde4dfae308a1d29314b7b7ffd0adc26f38f7 /bin/isolated-functions.sh
parent72cf4480379b56daa86f22cddd16841b387793c4 (diff)
downloadportage-ec69d9ccbb3695e21a4324bd9ed27c14ea2469f9.tar.gz
portage-ec69d9ccbb3695e21a4324bd9ed27c14ea2469f9.tar.bz2
portage-ec69d9ccbb3695e21a4324bd9ed27c14ea2469f9.zip
Fix the diefunc overlay message so that it doesn't trigger
falsely in prerm or postrm. (trunk r8578) svn path=/main/branches/2.1.2/; revision=8579
Diffstat (limited to 'bin/isolated-functions.sh')
-rw-r--r--bin/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 100644
--- 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%/*}