This commit is contained in:
parent
58739bd965
commit
260c86bf92
1 changed files with 8 additions and 8 deletions
16
cd.sh
16
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
|
||||
|
|
Loading…
Reference in a new issue