os versions
Some checks failed
/ job (push) Failing after 8m9s

This commit is contained in:
Marc Beninca 2024-07-12 23:24:50 +02:00
parent ed39bce697
commit cd2b4c2f86
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 15 additions and 15 deletions

12
spcd.sh
View file

@ -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
;;