Allow word splitting

This commit is contained in:
TheSpad 2022-09-05 21:55:22 +01:00
parent 261c0b7c50
commit fd0e34c1f5
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -7,10 +7,10 @@ if [[ -f "/mod-repo-packages-to-install.list" ]]; then
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
apt-get update apt-get update
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
"$(cat /mod-repo-packages-to-install.list)" $(cat /mod-repo-packages-to-install.list)
elif [[ -f /sbin/apk ]]; then elif [[ -f /sbin/apk ]]; then
apk add --no-cache \ apk add --no-cache \
"$(cat /mod-repo-packages-to-install.list)" $(cat /mod-repo-packages-to-install.list)
fi fi
fi fi
@ -28,7 +28,7 @@ if [[ -f "/mod-pip-packages-to-install.list" ]]; then
fi fi
fi fi
python3 -m pip install "${PIP_ARGS}" \ python3 -m pip install "${PIP_ARGS}" \
"$(cat /mod-pip-packages-to-install.list)" $(cat /mod-pip-packages-to-install.list)
fi fi
rm -rf \ rm -rf \