diff --git a/cd.sh b/cd.sh index 35edd87..e55753c 100644 --- a/cd.sh +++ b/cd.sh @@ -160,6 +160,14 @@ cd_install_ca () { esac } +cd_set_https_verification_on () { + cd_step "${FUNCNAME}" + case "${CD_OS_NAME}" in + 'debian') rm '/etc/apt/apt.conf.d/https' ;; + *) exit 1 ;; + esac +} + cd_install_git () { cd_step "${FUNCNAME}" case "${CD_OS_NAME}" in @@ -176,14 +184,6 @@ cd_install_python () { esac } -cd_set_https_verification_on () { - cd_step "${FUNCNAME}" - case "${CD_OS_NAME}" in - 'debian') rm '/etc/apt/apt.conf.d/https' ;; - *) exit 1 ;; - esac -} - cd_upgrade_packages () { cd_step "${FUNCNAME}" case "${CD_OS_NAME}" in