aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-07-15 10:06:47 -0700
committerZac Medico <zmedico@gentoo.org>2011-07-15 10:06:47 -0700
commit6620e74643e0baf040488557b1fff7273654a44d (patch)
tree429050ec4a43dba178a93885b0c0dc7a8d8928fb /bin/isolated-functions.sh
parentportageq: reference GLEP 37 in expand_virtual doc (diff)
downloadportage-6620e74643e0baf040488557b1fff7273654a44d.tar.gz
portage-6620e74643e0baf040488557b1fff7273654a44d.tar.bz2
portage-6620e74643e0baf040488557b1fff7273654a44d.zip
Skip QA Notice for hasq/useq during *rm phases.
Diffstat (limited to 'bin/isolated-functions.sh')
-rw-r--r--bin/isolated-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 574f949d7..65bb1d5d5 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -512,7 +512,8 @@ if [[ -z ${XARGS} ]] ; then
fi
hasq() {
- eqawarn "QA Notice: The 'hasq' function is deprecated (replaced by 'has')"
+ has $EBUILD_PHASE prerm postrm || eqawarn \
+ "QA Notice: The 'hasq' function is deprecated (replaced by 'has')"
has "$@"
}