From ea49325b9fb5dbba6119bf7e7c0b60fbac203682 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 4 May 2024 00:28:49 +0200 Subject: [PATCH] deb/py --- cd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cd.sh b/cd.sh index c8b6d53..b7c7e02 100644 --- a/cd.sh +++ b/cd.sh @@ -92,7 +92,8 @@ skip_if_unavailable=False CD_OS_REPO="${CD_DEFAULT_REPO_DEBIAN}" [ "${CD_REPO_DEBIAN}" ] && CD_OS_REPO="${CD_REPO_DEBIAN}" case "${CD_OS_VERSION}" in - "bookworm"|"bullseye") cd_nop ;; + "bookworm") CD_PYTHON_COMMAND="python3.11" ;; + "bullseye") CD_PYTHON_COMMAND="python3.9" ;; *) cd_error_os "CD_OS_VERSION" ;; esac CD_CA_ROOT="/usr/local/share/ca-certificates" @@ -112,7 +113,6 @@ Dir::Etc::SourceParts \"\"; " CD_PM_HTTPS_PATH="/etc/apt/apt.conf.d/https" CD_PM_HTTPS_TEXT="Acquire::https::Verify-Peer False;" - CD_PYTHON_COMMAND="python3" CD_PYTHON_PACKAGE="python3" CD_PYTHON_PACKAGES="/usr/lib/python3/dist-packages" ;;