From 35c6af50e7c69a130cac9edd44d8fdb8d46d7127 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 27 Apr 2024 21:40:50 +0200 Subject: [PATCH] https_on --- cd.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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