From fd6a31e3bebc10ed238b010dc8ac875a121abe0e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 26 Apr 2024 17:02:14 +0200 Subject: [PATCH] package_tools --- cd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cd.sh b/cd.sh index c5350b6..e50c76f 100644 --- a/cd.sh +++ b/cd.sh @@ -131,6 +131,14 @@ function cd_install_git { esac } +function cd_install_packages_tools { + cd_step "${FUNCNAME}" + case "${CD_OS_NAME}" in + 'debian') cd_install_package 'apt-utils' ;; + *) exit 1 ;; + esac +} + function cd_install_python { cd_step "${FUNCNAME}" case "${CD_OS_NAME}" in @@ -169,6 +177,7 @@ function cd_main { cd_set_packages_configuration cd_set_https_verification_off cd_update_packages_catalog + cd_install_packages_tools cd_install_ca cd_set_https_verification_on cd_update_packages_catalog