diff --git a/cd.sh b/cd.sh index a0ad71d..dc240be 100644 --- a/cd.sh +++ b/cd.sh @@ -106,6 +106,16 @@ function cd_update_packages_catalog { esac } +function cd_install_package { +if [ "${1}" ] ; then + cd_step "${FUNCNAME}" + case "${CD_OS_NAME}" in + 'debian') apt-get install --yes "${1}" || exit ;; + *) exit 1 ;; + esac +fi +} + function cd_install_ca { cd_step "${FUNCNAME}" case "${CD_OS_NAME}" in