trust https
This commit is contained in:
parent
617695589f
commit
a217194d80
1 changed files with 3 additions and 3 deletions
|
@ -1024,9 +1024,9 @@ spcd_packages_set_configuration() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_set_https_verification_off() {
|
spcd_packages_trust_https() {
|
||||||
|
spcd_step "Trust HTTPS"
|
||||||
if [ -n "${SPCD_CA}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then
|
if [ -n "${SPCD_CA}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then
|
||||||
spcd_step "Set HTTPS verification off"
|
|
||||||
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
|
||||||
|
@ -1261,9 +1261,9 @@ spcd_main() {
|
||||||
spcd_step_in "Packages"
|
spcd_step_in "Packages"
|
||||||
spcd_packages_set_repositories
|
spcd_packages_set_repositories
|
||||||
spcd_packages_set_configuration
|
spcd_packages_set_configuration
|
||||||
|
spcd_packages_trust_https
|
||||||
spcd_step_out
|
spcd_step_out
|
||||||
#
|
#
|
||||||
spcd_set_https_verification_off
|
|
||||||
spcd_update_packages_catalog
|
spcd_update_packages_catalog
|
||||||
spcd_install_packages_tools
|
spcd_install_packages_tools
|
||||||
# ca
|
# ca
|
||||||
|
|
Loading…
Reference in a new issue