summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
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" | \