packages
This commit is contained in:
parent
10e5685bf5
commit
617695589f
1 changed files with 13 additions and 12 deletions
|
@ -939,12 +939,12 @@ nameserver ${spcd_sdr__value}
|
||||||
spcd_os_write "${SPCD_DNS_FILE}" "${spcd_sdr__text}"
|
spcd_os_write "${SPCD_DNS_FILE}" "${spcd_sdr__text}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭───────┬─────╮
|
# ╭───────┬──────────╮
|
||||||
# │ steps │ pkg │
|
# │ steps │ packages │
|
||||||
# ╰───────┴─────╯
|
# ╰───────┴──────────╯
|
||||||
|
|
||||||
spcd_set_packages_repositories() {
|
spcd_packages_set_repositories() {
|
||||||
spcd_step "Set packages repositories"
|
spcd_step "Set repositories"
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
"${SPCD_OS_ALMA}")
|
"${SPCD_OS_ALMA}")
|
||||||
case "${SPCD_OS_VERSION}" in
|
case "${SPCD_OS_VERSION}" in
|
||||||
|
@ -1010,8 +1010,8 @@ deb ${SPCD_URL_CHOSEN} ${SPCD_OS_VERSION}-security main universe
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_set_packages_configuration() {
|
spcd_packages_set_configuration() {
|
||||||
spcd_step "Set packages configuration"
|
spcd_step "Set configuration"
|
||||||
spcd_os_write "${SPCD_PM_CONF_PATH}" "${SPCD_PM_CONF_TEXT}"
|
spcd_os_write "${SPCD_PM_CONF_PATH}" "${SPCD_PM_CONF_TEXT}"
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
"${SPCD_OS_ARCH}")
|
"${SPCD_OS_ARCH}")
|
||||||
|
@ -1024,8 +1024,6 @@ spcd_set_packages_configuration() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# agnostic steps
|
|
||||||
|
|
||||||
spcd_set_https_verification_off() {
|
spcd_set_https_verification_off() {
|
||||||
if [ -n "${SPCD_CA}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then
|
if [ -n "${SPCD_CA}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then
|
||||||
spcd_step "Set HTTPS verification off"
|
spcd_step "Set HTTPS verification off"
|
||||||
|
@ -1252,15 +1250,18 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
|
||||||
spcd_main() {
|
spcd_main() {
|
||||||
|
# environment
|
||||||
spcd_step_in "Environment"
|
spcd_step_in "Environment"
|
||||||
spcd_environment_set_variables
|
spcd_environment_set_variables
|
||||||
spcd_environment_list_workspace
|
spcd_environment_list_workspace
|
||||||
spcd_step_out
|
spcd_step_out
|
||||||
# dns
|
# dns
|
||||||
spcd_dns
|
spcd_dns
|
||||||
# pkg
|
# packages
|
||||||
spcd_set_packages_repositories
|
spcd_step_in "Packages"
|
||||||
spcd_set_packages_configuration
|
spcd_packages_set_repositories
|
||||||
|
spcd_packages_set_configuration
|
||||||
|
spcd_step_out
|
||||||
#
|
#
|
||||||
spcd_set_https_verification_off
|
spcd_set_https_verification_off
|
||||||
spcd_update_packages_catalog
|
spcd_update_packages_catalog
|
||||||
|
|
Loading…
Reference in a new issue