commit: 6e70d834274b87c7a9338ddc14922ff9049531ee
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 22 16:53:05 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 18:01:31 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6e70d834
Documentation: set-based-remove.sh: Add pkgcheck support
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Documentation/maintainers/new/set-based-remove.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/maintainers/new/set-based-remove.sh
b/Documentation/maintainers/new/set-based-remove.sh
index 3be839d566..ff4bd8f0f3 100755
--- a/Documentation/maintainers/new/set-based-remove.sh
+++ b/Documentation/maintainers/new/set-based-remove.sh
@@ -5,6 +5,7 @@
# Optional:
# dev-vcs/git
# app-portage/mgorny-dev-scripts
+# dev-util/pkgcheck
. $(dirname "$0")/lib.sh
@@ -62,4 +63,10 @@ if [[ -d "${TARGET_REPO}/.git" ]] && hash git 2>/dev/null &&
hash pkgcommit 2>/d
popd > /dev/null
done
+
+ if hash pkgcheck 2>/dev/null; then
+ pushd "${TARGET_REPO}" > /dev/null
+ pkgcheck scan --commits
+ popd > /dev/null
+ fi
fi