upgrade
This commit is contained in:
parent
5f661ba6db
commit
4d9a7671f9
1 changed files with 3 additions and 3 deletions
6
cd.sh
6
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
|
||||
|
|
Loading…
Reference in a new issue