mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-01 19:50:49 +02:00
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 Pmodules/src!100
This commit is contained in:
@@ -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%.*}"
|
||||
|
||||
Reference in New Issue
Block a user