pm/update

This commit is contained in:
Marc Beninca 2024-09-07 12:33:09 +02:00
parent 261540d503
commit e647554a48
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1273,8 +1273,8 @@ SSLVerify = No
fi
}
spcd_step__packages_update_catalog() {
spcd_step "Update catalog"
spcd_f_pm_update() {
spcd_step "Update"
case "${SPCD_PM}" in
"${SPCD_PM_APK}") spcd_run apk update ;;
"${SPCD_PM_APT}") spcd_run apt-get update ;;
@ -1572,7 +1572,7 @@ spcd_main() {
spcd_step__packages_set_repositories
spcd_step__packages_set_configuration
spcd_step__packages_trust_https
spcd_step__packages_update_catalog
spcd_f_pm_update
spcd_step__packages_install_tools
spcd_step__packages_install_locales
spcd_step_out
@ -1585,7 +1585,7 @@ spcd_main() {
# packages
spcd_step_in "Packages"
spcd_step__packages_verify_https
spcd_step__packages_update_catalog
spcd_f_pm_update
spcd_f_pm_upgrade
spcd_step__packages_install_dos2unix
spcd_step__packages_install_git