ca
This commit is contained in:
parent
f35b2cef7e
commit
0af77deec9
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue