Handle empty package lists gracefully
This commit is contained in:
parent
a1045452bd
commit
4659c77212
1 changed files with 3 additions and 1 deletions
|
|
@ -97,4 +97,6 @@ PIPX_PKGS=(
|
|||
sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes "${DEB_PKGS[@]}"
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install --install-recommends --yes "${META_PKGS[@]}"
|
||||
|
||||
pipx install "${PIPX_PKGS[@]}"
|
||||
if (( "${#PIPX_PKGS[@]}" != 0 )); then
|
||||
pipx install "${PIPX_PKGS[@]}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue