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

This commit is contained in:
Marc Beninca 2024-04-27 21:42:29 +02:00
parent 35c6af50e7
commit 4230c23f2c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

16
cd.sh
View file

@ -168,6 +168,14 @@ cd_set_https_verification_on () {
esac esac
} }
cd_upgrade_packages () {
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian') apt-get upgrade --yes || exit ;;
*) exit 1 ;;
esac
}
cd_install_git () { cd_install_git () {
cd_step "${FUNCNAME}" cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in
@ -184,14 +192,6 @@ cd_install_python () {
esac esac
} }
cd_upgrade_packages () {
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian') apt-get upgrade --yes || exit ;;
*) exit 1 ;;
esac
}
cd_clean_packages_cache () { cd_clean_packages_cache () {
cd_step "${FUNCNAME}" cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in