summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-05 09:00:25 +0100
committerErich Eckner <git@eckner.net>2018-02-05 09:00:25 +0100
commitac8df27bd6c262f917207a1959f26dff74d52aa0 (patch)
treea09dd7072686dd01dec4cc73c9646a5313b366a1 /bin/get-package-updates
parent95f58cb2eb6bbb7143fc292458dde313c12a54be (diff)
downloadbuilder-ac8df27bd6c262f917207a1959f26dff74d52aa0.tar.xz
bin/get-package-updates: style
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates6
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" | \