diff options
author | Erich Eckner <git@eckner.net> | 2018-02-05 09:00:25 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-05 09:00:25 +0100 |
commit | ac8df27bd6c262f917207a1959f26dff74d52aa0 (patch) | |
tree | a09dd7072686dd01dec4cc73c9646a5313b366a1 | |
parent | 95f58cb2eb6bbb7143fc292458dde313c12a54be (diff) | |
download | builder-ac8df27bd6c262f917207a1959f26dff74d52aa0.tar.xz |
bin/get-package-updates: style
-rwxr-xr-x | bin/get-package-updates | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index fc66ec6..1ad5ce4 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -474,8 +474,10 @@ while [ -n "${black_listed_new}" ]; do done echo "${black_listed}" | \ while read -r package; do - [ -n "${package}" ] && \ - delete_package "${package}" + if [ -z "${package}" ]; then + continue + fi + delete_package "${package}" done sort -u "${work_dir}/deletion-list.new" | \ |