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-update12
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/db-update b/bin/db-update
index e1e785a..97ca393 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -558,7 +558,10 @@ move_packages $(
continue
fi
- printf '%s/%s/%s\n' "${package}" "$(official_or_community ${package})testing" "$(repository_of_package "${package}")"
+ printf '%s/%s/%s\n' \
+ "${package}" \
+ "$(official_or_community "${package}" 'testing')" \
+ "$(repository_of_package "${package}")"
done
@@ -574,9 +577,10 @@ move_packages $(
continue
fi
- is_community="$(official_or_community "${package}")"
-
- printf '%s/%s/%s\n' "${package}" "${is_community}staging" "${is_community}testing"
+ printf '%s/%s/%s\n' \
+ "${package}" \
+ "$(official_or_community "${package}" 'staging')" \
+ "$(official_or_community "${package}" 'testing')"
done