pm/upgrade

This commit is contained in:
Marc Beninca 2024-09-07 12:30:36 +02:00
parent 1fa2c9f34b
commit a8e8e29912
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1355,8 +1355,8 @@ spcd_step__packages_verify_https() {
fi
}
spcd_step__packages_upgrade_system() {
spcd_step "Upgrade system"
spcd_f_pm_upgrade() {
spcd_step "Upgrade"
case "${SPCD_PM}" in
"${SPCD_PM_APK}") spcd_run apk upgrade ;;
"${SPCD_PM_APT}") spcd_run apt-get upgrade --assume-yes ;;
@ -1586,7 +1586,7 @@ spcd_main() {
spcd_step_in "Packages"
spcd_step__packages_verify_https
spcd_step__packages_update_catalog
spcd_step__packages_upgrade_system
spcd_f_pm_upgrade
spcd_step__packages_install_dos2unix
spcd_step__packages_install_git
spcd_step_out