This commit is contained in:
Marc Beninca 2024-08-26 11:46:41 +02:00
parent f35b2cef7e
commit 0af77deec9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -823,13 +823,10 @@ Acquire::https::Verify-Peer False;
${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" ${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages"
spcd_split spcd_split
spcd_os_printenv "SPCD_PYTHON_PACKAGES" "SPCD_PYTHON_VENV_PACKAGES" spcd_os_printenv "SPCD_PYTHON_PACKAGES" "SPCD_PYTHON_VENV_PACKAGES"
# variables
# certificate authorities
[ -n "${SPCD_CA_1}" ] && SPCD_CA=true
# downloads # downloads
SPCD_DL="$(mktemp --directory)" SPCD_DL="$(mktemp --directory)"
spcd_split spcd_split
spcd_os_printenv "SPCD_CA" "SPCD_DL" spcd_os_printenv "SPCD_DL"
} }
spcd_environment_list_workspace() { spcd_environment_list_workspace() {
@ -965,7 +962,7 @@ spcd_packages_set_configuration() {
spcd_packages_trust_https() { spcd_packages_trust_https() {
spcd_step "Trust HTTPS" spcd_step "Trust HTTPS"
if [ -n "${SPCD_CA}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then if [ -n "${SPCD_CA_1}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then
spcd_os_mkdir "$(dirname "${SPCD_PM_HTTPS_PATH}")" spcd_os_mkdir "$(dirname "${SPCD_PM_HTTPS_PATH}")"
spcd_os_write "${SPCD_PM_HTTPS_PATH}" "${SPCD_PM_HTTPS_TEXT}" spcd_os_write "${SPCD_PM_HTTPS_PATH}" "${SPCD_PM_HTTPS_TEXT}"
fi fi