fix(blitz.fatpack.sh): use $*

This commit is contained in:
openoms 2024-04-07 15:58:38 +02:00
parent 24997ac0ca
commit b65fbf066d
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -53,10 +53,10 @@ if [ "${needsExpansion}" == "1" ]; then
fi
apt_install() {
sudo DEBIAN_FRONTEND=noninteractive apt install -y ${@}
sudo DEBIAN_FRONTEND=noninteractive apt install -y "$*"
if [ $? -eq 100 ]; then
echo "FAIL! apt failed to install needed packages!"
echo ${@}
echo "$*"
exit 1
fi
}