Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index 0016436..427956a 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -559,6 +559,9 @@ clean_up_lock_file() {
# testing -> stable
while read -r package; do
+ if [ -z "${package}" ]; then
+ continue
+ fi
printf '%s %s %s\n' \
"${package}" \
"$(official_or_community "${package}" 'testing')" \
@@ -570,6 +573,9 @@ done < \
# staging -> testing
while read -r package; do
+ if [ -z "${package}" ]; then
+ continue
+ fi
printf '%s %s %s\n' \
"${package}" \
"$(official_or_community "${package}" 'staging')" \