Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/nit-picker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 11:05:07 +0100
committerErich Eckner <git@eckner.net>2020-01-13 11:05:07 +0100
commitbd836fa09286ddea85c14ce42fc4d5a630e82630 (patch)
treebbb30b010dac302af94c8263a6a71c740b3e8995 /bin/nit-picker
parentd17484c68980cbe539f60a02ea85ad7f50048c47 (diff)
bin/nit-picker: invert logic
Diffstat (limited to 'bin/nit-picker')
-rwxr-xr-xbin/nit-picker15
1 files changed, 8 insertions, 7 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index 98f0d77..9cec5c8 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -603,7 +603,7 @@ while pgrep -x ii >/dev/null \
' '/etc/pacman.d/mirrorlist' \
| head -n1
)
- if [ -z "$(
+ if [ -n "$(
# shellcheck disable=SC2154
for repo in ${upstream_repository_names}; do
if [ "${repo}" = 'build-support' ]; then
@@ -624,12 +624,13 @@ while pgrep -x ii >/dev/null \
fi
done
)" ]; then
- printf 'Package %s is still in our repositories or on the build-list, but is not available upstream.\n' \
- "${parameters}" \
- | local_irc_say
- if [ $# -eq 0 ]; then
- sleep 60
- fi
+ continue
+ fi
+ printf 'Package %s is still in our repositories or on the build-list, but is not available upstream.\n' \
+ "${parameters}" \
+ | local_irc_say
+ if [ $# -eq 0 ]; then
+ sleep 60
fi
;;
*)