From 58262405bfc57fa96b7a10ae320de87b2a9cdd4b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 8 Jun 2024 13:21:17 +0200 Subject: [PATCH] cd_install_package --- cd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cd.sh b/cd.sh index 804d963..8c7e9c9 100644 --- a/cd.sh +++ b/cd.sh @@ -635,8 +635,9 @@ local variable="${1}" } cd_install_package () { - if [ "${1}" ] ; then - ${CD_PM_INSTALL} "${1}" || exit + cd_install_package__name="${1}" + if [ "${cd_install_package__name}" ] ; then + ${CD_PM_INSTALL} "${cd_install_package__name}" || exit fi }