diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 34fc5f8..3e5c52a 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -890,6 +890,14 @@ spcd_f_ca_write() { # │ f │ pm = package manager │ # ╰───┴──────────────────────╯ +spcd_f_pm_install() { + spcd_step "Install tools" + case "${SPCD_PM}" in + "${SPCD_PM_APT}") spcd_f_pm_pkg_install "apt-utils" ;; + *) ;; + esac +} + # ╭───┬────┬───────╮ # │ f │ pm │ https │ # ╰───┴────┴───────╯ @@ -1356,14 +1364,6 @@ Dir::Etc::SourceParts \"\"; esac } -spcd_step__packages_install_tools() { - spcd_step "Install tools" - case "${SPCD_PM}" in - "${SPCD_PM_APT}") spcd_f_pm_pkg_install "apt-utils" ;; - *) ;; - esac -} - spcd_step__packages_install_locales() { spcd_step_in "Locales" spcd_step "Install" @@ -1585,7 +1585,7 @@ spcd_main() { spcd_step__packages_set_configuration spcd_f_pm_https_trust spcd_f_pm_pkg_update - spcd_step__packages_install_tools + spcd_f_pm_install spcd_step__packages_install_locales spcd_step_out # ca