summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 18:53:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 20:01:31 +0200
commit6e70d834274b87c7a9338ddc14922ff9049531ee (patch)
treeec273496772d08414e5ae2cb0ded2835369c7348
parent43514180101ad6267a7c514ff925af9023b3cd1a (diff)
downloadkde-6e70d834274b87c7a9338ddc14922ff9049531ee.tar.gz
kde-6e70d834274b87c7a9338ddc14922ff9049531ee.tar.bz2
kde-6e70d834274b87c7a9338ddc14922ff9049531ee.zip
Documentation: set-based-remove.sh: Add pkgcheck support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rwxr-xr-xDocumentation/maintainers/new/set-based-remove.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/maintainers/new/set-based-remove.sh b/Documentation/maintainers/new/set-based-remove.sh
index 3be839d5663..ff4bd8f0f30 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