summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
-rw-r--r--bin/isolated-functions.sh3
2 files changed, 4 insertions, 2 deletions
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 "$@"
}