From cd2b4c2f8648cdb6ae68e40fa93fdc85ef173919 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 12 Jul 2024 23:24:50 +0200 Subject: [PATCH] os versions --- readme.md | 18 +++++++++--------- spcd.sh | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/readme.md b/readme.md index 07c19b5..fcacab9 100644 --- a/readme.md +++ b/readme.md @@ -16,26 +16,26 @@ from various contexts of CA, CI and OCI / OS. * [ ] SourceHut * Operating Systems * [X] Alma → Python 3.11 - * [X] 8 * [X] 9 - * [X] Alpine → Python 3.11 - * [X] 3.18 - * [X] 3.19 + * [X] 8 + * [X] Alpine + * [X] 3.20 → Python 3.12 + * [X] 3.19 → Python 3.11 * [X] Arch → Python 3.12 - * [ ] 20231112 * [X] 20240101 + * [ ] 20231112 * [X] Debian - * [ ] Bullseye (11) → Python 3.9 * [X] Bookworm (12) → Python 3.11 + * [ ] Bullseye (11) → Python 3.9 * [X] Fedora → Python 3.12 - * [X] 39 * [X] 40 + * [X] 39 * [X] Rocky → Python 3.11 - * [X] 8 * [X] 9 + * [X] 8 * [X] Ubuntu - * [X] Jammy (22.04) → Python 3.10 * [X] Noble (24.04) → Python 3.12 + * [X] Jammy (22.04) → Python 3.10 ## How diff --git a/spcd.sh b/spcd.sh index efd89db..59ac806 100644 --- a/spcd.sh +++ b/spcd.sh @@ -94,37 +94,37 @@ spcd_set_environment_variables() { case "${SPCD_OS_ID}" in "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") case "${SPCD_OS_VERSION}" in - "8" | "9") ;; + "9" | "8") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;; "${SPCD_OS_ALPINE}") case "${SPCD_OS_VERSION}" in - "3.18" | "3.19") ;; + "3.20" | "3.19") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;; "${SPCD_OS_ARCH}") case "${SPCD_OS_VERSION}" in - "20231112" | "20240101") ;; + "20240101" | "20231112") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;; "${SPCD_OS_DEBIAN}") case "${SPCD_OS_VERSION}" in - "bookworm" | "bullseye") ;; + "bullseye" | "bookworm") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;; "${SPCD_OS_FEDORA}") case "${SPCD_OS_VERSION}" in - "39" | "40") ;; + "40" | "39") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;; "${SPCD_OS_UBUNTU}") case "${SPCD_OS_VERSION}" in - "jammy" | "noble") ;; + "noble" | "jammy") ;; *) spcd_error_os "SPCD_OS_VERSION" ;; esac ;;