From 2696514c246304fd12d3d94b1cb010a475c36d90 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 8 Sep 2024 20:45:29 +0200 Subject: [PATCH] pm/install --- spcd/bootstrap.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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