From 260c86bf92c0728e6d6360947edfc425024229d9 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 27 Apr 2024 21:36:51 +0200 Subject: [PATCH] install_packages_tools --- cd.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cd.sh b/cd.sh index 028695b..c620726 100644 --- a/cd.sh +++ b/cd.sh @@ -144,6 +144,14 @@ cd_update_packages_catalog () { 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 () { if [ "${1}" ] ; then case "${CD_OS_NAME}" in @@ -169,14 +177,6 @@ cd_install_git () { 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_step "${FUNCNAME}" case "${CD_OS_NAME}" in