install_packages_tools
Some checks failed
/ job (push) Failing after 7s

This commit is contained in:
Marc Beninca 2024-04-27 21:36:51 +02:00
parent 58739bd965
commit 260c86bf92
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

16
cd.sh
View file

@ -144,6 +144,14 @@ cd_update_packages_catalog () {
esac esac
} }
cd_install_packages_tools () {
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian') cd_install_package 'apt-utils' ;;
*) exit 1 ;;
esac
}
cd_install_package () { cd_install_package () {
if [ "${1}" ] ; then if [ "${1}" ] ; then
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in
@ -169,14 +177,6 @@ cd_install_git () {
esac esac
} }
cd_install_packages_tools () {
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian') cd_install_package 'apt-utils' ;;
*) exit 1 ;;
esac
}
cd_install_python () { cd_install_python () {
cd_step "${FUNCNAME}" cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in