cd_python_modules

This commit is contained in:
Marc Beninca 2024-04-29 15:14:49 +02:00
parent 4e10aef6a9
commit bf32e90fe5
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

12
cd.sh
View file

@ -3,8 +3,10 @@
[ "${CD_DNS}" ] || CD_DNS="\
9.9.9.9 \
"
# modules
set "cd" "rwx"
CD_PYTHON_MODULES="\
cd \
rwx \
"
# steps
cd_main () {
@ -24,8 +26,8 @@ cd_main () {
cd_install_git
cd_install_python
cd_clean_packages_cache
cd_install_python_modules "${@}"
cd_execute_python_module "${@}"
cd_install_python_modules ${CD_PYTHON_MODULES}
cd_execute_python_module ${CD_PYTHON_MODULES}
}
# functions
@ -330,4 +332,4 @@ local text="${2}"
}
# main
cd_main "${@}"
cd_main