From bd836fa09286ddea85c14ce42fc4d5a630e82630 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 13 Jan 2020 11:05:07 +0100 Subject: bin/nit-picker: invert logic --- bin/nit-picker | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'bin/nit-picker') 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 ;; *) -- cgit v1.2.3-70-g09d2