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
|
||||
}
|
||||
|
||||
spcd_set_https_verification_off() {
|
||||
spcd_packages_trust_https() {
|
||||
spcd_step "Trust HTTPS"
|
||||
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_write "${SPCD_PM_HTTPS_PATH}" "${SPCD_PM_HTTPS_TEXT}"
|
||||
fi
|
||||
|
@ -1261,9 +1261,9 @@ spcd_main() {
|
|||
spcd_step_in "Packages"
|
||||
spcd_packages_set_repositories
|
||||
spcd_packages_set_configuration
|
||||
spcd_packages_trust_https
|
||||
spcd_step_out
|
||||
#
|
||||
spcd_set_https_verification_off
|
||||
spcd_update_packages_catalog
|
||||
spcd_install_packages_tools
|
||||
# ca
|
||||
|
|
Loading…
Reference in a new issue