Verified Commit 214224ac authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

fixup shellcheck


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 93c0352e
Pipeline #13758 passed with stage
in 20 minutes and 49 seconds
...@@ -139,7 +139,7 @@ for tarch in "${ARCHES[@]}"; do ...@@ -139,7 +139,7 @@ for tarch in "${ARCHES[@]}"; do
arch_repo_modify add "${repo_to}" "${tarch}" "${add_pkgs[@]}" arch_repo_modify add "${repo_to}" "${tarch}" "${add_pkgs[@]}"
arch_repo_modify remove "${repo_from}" "${tarch}" "${remove_pkgs[@]}" arch_repo_modify remove "${repo_from}" "${tarch}" "${remove_pkgs[@]}"
fi fi
if [[ -n ${add_debug_pkgs[@]} ]]; then if [[ -n ${add_debug_pkgs[*]} ]]; then
arch_repo_modify add "${repo_to}-debug" "${tarch}" "${add_debug_pkgs[@]}" arch_repo_modify add "${repo_to}-debug" "${tarch}" "${add_debug_pkgs[@]}"
arch_repo_modify remove "${repo_from}-debug" "${tarch}" "${remove_debug_pkgs[@]}" arch_repo_modify remove "${repo_from}-debug" "${tarch}" "${remove_debug_pkgs[@]}"
fi fi
......
...@@ -120,7 +120,7 @@ for repo in "${repos[@]}"; do ...@@ -120,7 +120,7 @@ for repo in "${repos[@]}"; do
arch_repo_modify add "${repo}" "${pkgarch}" "${add_pkgs[@]}" arch_repo_modify add "${repo}" "${pkgarch}" "${add_pkgs[@]}"
fi fi
if (( ${#debug_pkgs[@]} >= 1 )); then if (( ${#debug_pkgs[@]} >= 1 )); then
arch_repo_modify add "${repo}-debug" "${pkgarch}" ${debug_pkgs[@]} arch_repo_modify add "${repo}-debug" "${pkgarch}" "${debug_pkgs[@]}"
fi fi
done done
done done
......
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