commit:     c2f413d6a1b820854681847870f94ff08ac35c2a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 18 09:32:26 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 18 09:32:26 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c2f413d6

Revert "Skip QA Notice for hasq/useq during *rm phases."

Almost a decade later, the reason for this is no longer valid.
This reverts commit 6620e74643e0baf040488557b1fff7273654a44d.

Bug: https://bugs.gentoo.org/199722#c8
Acked-by: Zac Medico <zmedico <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/isolated-functions.sh | 3 +--
 bin/phase-helpers.sh      | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index fde684013..ba224b96f 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -475,8 +475,7 @@ ___parallel_xargs() {
 }
 
 hasq() {
-       has $EBUILD_PHASE prerm postrm || eqawarn \
-               "QA Notice: The 'hasq' function is deprecated (replaced by 
'has')"
+       eqawarn "QA Notice: The 'hasq' function is deprecated (replaced by 
'has')"
        has "$@"
 }
 

diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 9495465f9..e7b0a4171 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -190,8 +190,7 @@ dostrip() {
 }
 
 useq() {
-       has $EBUILD_PHASE prerm postrm || eqawarn \
-               "QA Notice: The 'useq' function is deprecated (replaced by 
'use')"
+       eqawarn "QA Notice: The 'useq' function is deprecated (replaced by 
'use')"
        use ${1}
 }
 

Reply via email to