From f808f4bfe7ff213d913f99e75bffd0e2156bc4db Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 2 May 2024 11:12:09 +0200 Subject: [PATCH] alma/nop --- cd.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cd.sh b/cd.sh index f049f04..79ebce9 100644 --- a/cd.sh +++ b/cd.sh @@ -49,19 +49,18 @@ local variable "bookworm"|"bullseye") cd_nop ;; *) cd_error_os "CD_OS_VERSION" ;; esac + CD_CA_ROOT="/usr/local/share/ca-certificates" CD_PYTHON_PACKAGE="python3" CD_PYTHON_PACKAGES="/usr/lib/python3/dist-packages" - CD_CA_ROOT="/usr/local/share/ca-certificates" ;; "${CD_OS_ALMA}") case "${CD_OS_VERSION}" in - "8"|"9") - CD_PYTHON_PACKAGE="python3.11" - CD_PYTHON_PACKAGES="/usr/lib64/python3.11/site-packages" - ;; + "8"|"9") cd_nop ;; *) cd_error_os "CD_OS_VERSION" ;; esac CD_CA_ROOT="/etc/pki/ca-trust/source/anchors" + CD_PYTHON_PACKAGE="python3.11" + CD_PYTHON_PACKAGES="/usr/lib64/python3.11/site-packages" ;; *) cd_error_os "CD_OS_NAME" ;; esac