From 4d9a7671f93f952602aca9615098fdadcf39e841 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Apr 2024 16:41:12 +0200 Subject: [PATCH] upgrade --- cd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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