mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-30 19:29:38 +02:00
Merge branch '171-add-springdale-as-rhel-clone' into 'master'
Resolve "add Springdale as RHEL clone" Closes #171 See merge request Pmodules/src!143
This commit is contained in:
@@ -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%.*}"
|
||||
;;
|
||||
* )
|
||||
|
||||
Reference in New Issue
Block a user