parent
cc477de841
commit
8f941c8284
2 changed files with 3 additions and 2 deletions
4
cd.sh
4
cd.sh
|
@ -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
1
cd/__main__.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
print('TODO bootstrap')
|
Loading…
Reference in a new issue