diff --git a/pidd.sh b/pidd.sh index 01aaa9c..7410232 100644 --- a/pidd.sh +++ b/pidd.sh @@ -4,8 +4,8 @@ [ -n "${PIDD_DNS}" ] || PIDD_DNS="\ 9.9.9.9 \ " -[ -n "${PIDD_GIT_CHILD}" ] || PIDD_GIT_CHILD="pidd" -[ -n "${PIDD_GIT_PARENT}" ] || PIDD_GIT_PARENT="rwx" +[ -n "${PIDD_GIT_MAIN}" ] || PIDD_GIT_MAIN="pidd" +[ -n "${PIDD_GIT_ROOT}" ] || PIDD_GIT_ROOT="rwx" # main pidd_main () { @@ -614,7 +614,7 @@ pidd_install_python_modules () { pidd_install_python_modules__root="$(mktemp --directory)" || exit echo "→ ${pidd_install_python_modules__root}" for pidd_install_python_modules__repository \ - in "${PIDD_GIT_CHILD}" "${PIDD_GIT_PARENT}" ; do + in "${PIDD_GIT_MAIN}" "${PIDD_GIT_ROOT}" ; do case "${pidd_install_python_modules__repository}" in http*) pidd_install_python_modules__url="\ ${pidd_install_python_modules__repository}" ;; @@ -672,7 +672,7 @@ PIDD_STEP = $((PIDD_STEP+1)) pidd_switch_to_python () { pidd_step "Switch to Python" - pidd_switch_to_python__name="$(basename "${PIDD_GIT_CHILD}")" + pidd_switch_to_python__name="$(basename "${PIDD_GIT_MAIN}")" echo "\ ${PIDD_PATH} ↓ diff --git a/readme.md b/readme.md index e9f57b2..c027b78 100644 --- a/readme.md +++ b/readme.md @@ -43,8 +43,8 @@ from various contexts of CA, CI and OCI / OS. |:----------------|:------------------------|:--------------------------------| | PIDD_CA_n | Numbered CA certificate | | | PIDD_DNS | Space separated servers | 9.9.9.9 | -| PIDD_GIT_CHILD | Child Git repository | pidd | -| PIDD_GIT_PARENT | Parent Git repository | rwx | +| PIDD_GIT_MAIN | Main Git repository | pidd | +| PIDD_GIT_ROOT | Root Git repository | rwx | | PIDD_SSH_HOSTS | domain.tld ssh-type pub | | | PIDD_SSH_KEY | SSH private key | | | PIDD_URL_ALMA | Alma repository URL | https://repo.almalinux.org |