diff --git a/Pmodules/libstd.bash b/Pmodules/libstd.bash index e5a2f46..fedd0c4 100644 --- a/Pmodules/libstd.bash +++ b/Pmodules/libstd.bash @@ -220,8 +220,8 @@ std.get_os_release_linux() { fi case "${ID}" in - RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | fedora ) - echo "rhel${VERSION_ID%.*}" + RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | CentOS | fedora ) + echo "rhel${VERSION_ID%%.*}" ;; Ubuntu ) echo "Ubuntu${VERSION_ID%.*}"