This commit is contained in:
Marc Beninca 2024-05-04 12:52:28 +02:00
parent d84c18ecac
commit c6a5c94eda
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

13
cd.sh
View file

@ -15,9 +15,10 @@ rwx \
# main # main
cd_main () { cd_main () {
cd_list_working_directory
cd_set_environment_variables cd_set_environment_variables
cd_set_packages_repositories cd_set_packages_repositories
#
cd_list_working_directory
cd_set_packages_configuration cd_set_packages_configuration
cd_set_https_verification_off cd_set_https_verification_off
cd_set_dns_resolving cd_set_dns_resolving
@ -38,11 +39,6 @@ cd_main () {
# steps # steps
cd_list_working_directory () {
cd_step "List working directory"
cd_ls "."
}
cd_set_environment_variables () { cd_set_environment_variables () {
cd_step "Set environment variables" cd_step "Set environment variables"
# #
@ -235,6 +231,11 @@ deb ${CD_OS_REPO}-security ${CD_OS_VERSION}-security main
# agnostic steps # agnostic steps
cd_list_working_directory () {
cd_step "List working directory"
cd_ls "."
}
cd_set_packages_configuration () { cd_set_packages_configuration () {
cd_step "Set packages configuration" cd_step "Set packages configuration"
cd_write "${CD_PM_CONF_PATH}" "${CD_PM_CONF_TEXT}" cd_write "${CD_PM_CONF_PATH}" "${CD_PM_CONF_TEXT}"