This commit is contained in:
Marc Beninca 2024-06-24 08:10:47 +02:00
parent c4a071178c
commit bf521a7200
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

24
pidd.sh
View file

@ -38,6 +38,19 @@ pidd_main () {
pidd_switch_to_python "${@}" pidd_switch_to_python "${@}"
} }
# context
pidd_list_environment_variables () {
pidd_step "List environment variables"
env | sort
}
pidd_list_working_directory () {
pidd_step "List working directory"
pidd_list_working_directory__path="$(realpath .)"
pidd_ls "${pidd_list_working_directory__path}"
}
# steps # steps
pidd_set_environment_variables () { pidd_set_environment_variables () {
@ -501,17 +514,6 @@ pidd_set_packages_configuration () {
# agnostic steps # agnostic steps
pidd_list_environment_variables () {
pidd_step "List environment variables"
env | sort
}
pidd_list_working_directory () {
pidd_step "List working directory"
pidd_list_working_directory__path="$(realpath .)"
pidd_ls "${pidd_list_working_directory__path}"
}
pidd_set_https_verification_off () { pidd_set_https_verification_off () {
if [ -n "${PIDD_CA}" ] || [ "${PIDD_PM}" = "${PIDD_PM_APT}" ] ; then if [ -n "${PIDD_CA}" ] || [ "${PIDD_PM}" = "${PIDD_PM_APT}" ] ; then
pidd_step "Set HTTPS verification off" pidd_step "Set HTTPS verification off"