Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-06 13:06:43 +0200
committerErich Eckner <git@eckner.net>2017-10-06 13:06:43 +0200
commitea10fdd184195317fe6716a8db0c0a11bcfae5e4 (patch)
treeeb5d5542c9a33c8688516e713657aae012e8b3fd /bin/why-dont-you
parentd7cfb0842f571ab160f7a0794164733a5145c050 (diff)
bin/get-package-updates, bin/seed-build-list, bin/why-dont-you: remove comments from blacklist
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 8e9cb1d..45df942 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -219,6 +219,10 @@ case "${action}" in
if git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- blacklist | \
tar -Ox 'blacklist' | \
+ sed '
+ s/\s*#.*$//
+ /^\s*$/d
+ ' | \
grep -qxF "${pkg}"; then
printf 'Package "%s" is explicitely blacklisted.\n' "${pkg}"
continue