diff --git a/cd.sh b/cd.sh index 3846d43..9b78b05 100644 --- a/cd.sh +++ b/cd.sh @@ -213,8 +213,8 @@ cd_set_https_verification_on () { cd_upgrade_packages () { cd_step "Upgrade packages" case "${CD_OS_NAME}" in - "debian") apt-get upgrade --yes || exit ;; - "alma") echo "TODO" ;; + "debian") apt-get upgrade --assume-yes || exit ;; + "alma") dnf upgrade --assumeyes || exit ;; *) cd_error_os "cd_upgrade_packages" ;; esac } @@ -309,7 +309,7 @@ cd_error_os () { cd_install_package () { if [ "${1}" ] ; then case "${CD_OS_NAME}" in - "debian") apt-get install --yes "${1}" || exit ;; + "debian") apt-get install --assume-yes "${1}" || exit ;; *) exit 1 ;; esac fi