module
Some checks failed
/ job (push) Failing after 6s

This commit is contained in:
Marc Beninca 2024-04-26 20:53:58 +02:00
parent cc477de841
commit 8f941c8284
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 3 additions and 2 deletions

4
cd.sh
View file

@ -10,6 +10,7 @@ CD_REPOSITORY_NAME='cd'
CD_DNS_FILE='/etc/resolv.conf' CD_DNS_FILE='/etc/resolv.conf'
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in
'debian') 'debian')
CD_PYTHON_COMMAND='python3'
CD_PYTHON_PACKAGES='/usr/lib/python3/dist-packages' CD_PYTHON_PACKAGES='/usr/lib/python3/dist-packages'
case "${CD_OS_VERSION}" in case "${CD_OS_VERSION}" in
'bookworm') 'bookworm')
@ -197,13 +198,12 @@ local root
cp --recursive --verbose \ cp --recursive --verbose \
"${root}/${repository}" "${CD_PYTHON_PACKAGES}" \ "${root}/${repository}" "${CD_PYTHON_PACKAGES}" \
|| exit || exit
# TODO commands
done done
} }
function cd_bootstrap { function cd_bootstrap {
cd_step "${FUNCNAME}" cd_step "${FUNCNAME}"
cd-bootstrap "${CD_PYTHON_COMMAND}" -m "${CD_REPOSITORY_NAME}"
} }
function cd_main { function cd_main {

1
cd/__main__.py Normal file
View file

@ -0,0 +1 @@
print('TODO bootstrap')