diff --git a/cd.sh b/cd.sh index 70a9781..69afca8 100644 --- a/cd.sh +++ b/cd.sh @@ -10,6 +10,7 @@ CD_REPOSITORY_NAME='cd' CD_DNS_FILE='/etc/resolv.conf' case "${CD_OS_NAME}" in 'debian') + CD_PYTHON_COMMAND='python3' CD_PYTHON_PACKAGES='/usr/lib/python3/dist-packages' case "${CD_OS_VERSION}" in 'bookworm') @@ -197,13 +198,12 @@ local root cp --recursive --verbose \ "${root}/${repository}" "${CD_PYTHON_PACKAGES}" \ || exit - # TODO commands done } function cd_bootstrap { cd_step "${FUNCNAME}" - cd-bootstrap + "${CD_PYTHON_COMMAND}" -m "${CD_REPOSITORY_NAME}" } function cd_main { diff --git a/cd/__main__.py b/cd/__main__.py new file mode 100644 index 0000000..a840bb6 --- /dev/null +++ b/cd/__main__.py @@ -0,0 +1 @@ +print('TODO bootstrap')