pm/install

This commit is contained in:
Marc Beninca 2024-09-08 20:45:29 +02:00
parent 126de92af4
commit 2696514c24
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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