diff options
author | Erich Eckner <git@eckner.net> | 2020-01-13 11:05:07 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-13 11:05:07 +0100 |
commit | bd836fa09286ddea85c14ce42fc4d5a630e82630 (patch) | |
tree | bbb30b010dac302af94c8263a6a71c740b3e8995 /bin/nit-picker | |
parent | d17484c68980cbe539f60a02ea85ad7f50048c47 (diff) | |
download | builder-bd836fa09286ddea85c14ce42fc4d5a630e82630.tar.xz |
bin/nit-picker: invert logic
Diffstat (limited to 'bin/nit-picker')
-rwxr-xr-x | bin/nit-picker | 15 |
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 ;; *) |