Verified Commit c87e6ad3 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

db-move: make array concatenation explicit

parent 36c2b421
......@@ -116,7 +116,7 @@ done
for tarch in "${ARCHES[@]}"; do
declare -n add_pkgs="add_pkgs_${tarch}"
declare -n remove_pkgs="remove_pkgs_${tarch}"
if [[ -n ${add_pkgs[@]} ]]; then
if [[ -n ${add_pkgs[*]} ]]; then
arch_repo_modify add "${repo_to}" "${tarch}" "${add_pkgs[@]}"
arch_repo_modify remove "${repo_from}" "${tarch}" "${remove_pkgs[@]}"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment