From ac8df27bd6c262f917207a1959f26dff74d52aa0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 5 Feb 2018 09:00:25 +0100 Subject: bin/get-package-updates: style --- bin/get-package-updates | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/get-package-updates') 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" | \ -- cgit v1.2.3-70-g09d2