verify https
This commit is contained in:
parent
789d67654e
commit
906528b15c
1 changed files with 9 additions and 7 deletions
|
@ -1070,12 +1070,12 @@ spcd_update_ca_certificates() {
|
|||
${SPCD_CMD_CA}
|
||||
}
|
||||
|
||||
# ╭───────┬─────╮
|
||||
# │ steps │ pkg │
|
||||
# ╰───────┴─────╯
|
||||
# ╭───────┬──────────╮
|
||||
# │ steps │ packages │
|
||||
# ╰───────┴──────────╯
|
||||
|
||||
spcd_set_https_verification_on() {
|
||||
spcd_step "Set HTTPS verification on"
|
||||
spcd_packages_verify_https() {
|
||||
spcd_step "Verify HTTPS"
|
||||
spcd_os_rm "${SPCD_PM_HTTPS_PATH}"
|
||||
}
|
||||
|
||||
|
@ -1269,12 +1269,14 @@ spcd_main() {
|
|||
spcd_install_ca_certificates
|
||||
spcd_write_ca_certificates
|
||||
spcd_update_ca_certificates
|
||||
# pkg
|
||||
spcd_set_https_verification_on
|
||||
# packages
|
||||
spcd_step_in "Packages"
|
||||
spcd_packages_verify_https
|
||||
spcd_update_packages_catalog
|
||||
spcd_upgrade_packages
|
||||
spcd_install_dos2unix
|
||||
spcd_install_git
|
||||
spcd_step_out
|
||||
# python
|
||||
spcd_install_python
|
||||
spcd_install_python_modules
|
||||
|
|
Loading…
Reference in a new issue