From b7da791922222a9e340e20673171fd4925259dc1 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 26 Oct 2022 15:15:33 +0200 Subject: [PATCH] Springdale added as RHEL clone --- Pmodules/libstd.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pmodules/libstd.bash b/Pmodules/libstd.bash index 1684727..87e3b34 100644 --- a/Pmodules/libstd.bash +++ b/Pmodules/libstd.bash @@ -287,11 +287,11 @@ std.get_os_release_linux() { std::die 4 "Cannot determin OS release!\n" fi - case "${ID}" in - RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | CentOS | fedora ) + case "${ID,,}" in + redhatenterpriseserver | redhatenterprise | scientific | springdale | rhel | centos | fedora ) echo "rhel${VERSION_ID%%.*}" ;; - Ubuntu ) + ubuntu ) echo "Ubuntu${VERSION_ID%.*}" ;; * )