cd_install_package

This commit is contained in:
Marc Beninca 2024-06-08 13:21:17 +02:00
parent 5217951380
commit 58262405bf
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

5
cd.sh
View file

@ -635,8 +635,9 @@ local variable="${1}"
} }
cd_install_package () { cd_install_package () {
if [ "${1}" ] ; then cd_install_package__name="${1}"
${CD_PM_INSTALL} "${1}" || exit if [ "${cd_install_package__name}" ] ; then
${CD_PM_INSTALL} "${cd_install_package__name}" || exit
fi fi
} }