From: Zac Medico Date: Fri, 15 Jul 2011 17:06:47 +0000 (-0700) Subject: Skip QA Notice for hasq/useq during *rm phases. X-Git-Tag: v2.2.0_alpha46~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6620e74643e0baf040488557b1fff7273654a44d;p=portage.git Skip QA Notice for hasq/useq during *rm phases. --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2ef40cbd0..4aef4134d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -128,7 +128,8 @@ esyslog() { } useq() { - eqawarn "QA Notice: The 'useq' function is deprecated (replaced by 'use')" + has $EBUILD_PHASE prerm postrm || eqawarn \ + "QA Notice: The 'useq' function is deprecated (replaced by 'use')" use ${1} } 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 "$@" }