Commit 457f3d54 authored by gsell's avatar gsell
Browse files

Merge branch '131-libstd-bash-fix-issue-with-current-centos-in-std-get_os_release' into 'master'

Resolve "libstd.bash: fix issue with current CentOS in std::get_os_release()"

Closes #131

See merge request !100
parents 54817c70 4f625ed8
......@@ -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%.*}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment