From 0af77deec91476b6241d8ba1bb5775181ad367e6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 11:46:41 +0200 Subject: [PATCH] ca --- spcd/bootstrap.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index eedf412..29dd4d5 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -823,13 +823,10 @@ Acquire::https::Verify-Peer False; ${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" spcd_split spcd_os_printenv "SPCD_PYTHON_PACKAGES" "SPCD_PYTHON_VENV_PACKAGES" - # variables - # certificate authorities - [ -n "${SPCD_CA_1}" ] && SPCD_CA=true # downloads SPCD_DL="$(mktemp --directory)" spcd_split - spcd_os_printenv "SPCD_CA" "SPCD_DL" + spcd_os_printenv "SPCD_DL" } spcd_environment_list_workspace() { @@ -965,7 +962,7 @@ spcd_packages_set_configuration() { spcd_packages_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_write "${SPCD_PM_HTTPS_PATH}" "${SPCD_PM_HTTPS_TEXT}" fi