dotnet-install should identify all RHEL 7.x as RHEL
New RHEL minor versions are compatible with previous RHEL minor versions. They also replace them: all users using RHEL 7.n are migrated to RHEL 7.(n+1) by a simple yum upgrade. So just treat all RHEL 7.x version as RHEL. This only holds true for minor versions. RHEL 7 is not compatible with RHEL 6. But since .NET Core only supports RHEL 7, this shouldn't matter.
This commit is contained in:
parent
82317c7a0a
commit
3fde06faf8
1 changed files with 1 additions and 1 deletions
2
scripts/obtain/dotnet-install.sh
vendored
2
scripts/obtain/dotnet-install.sh
vendored
|
@ -92,7 +92,7 @@ get_current_os_name() {
|
|||
echo "opensuse.42.1"
|
||||
return 0
|
||||
;;
|
||||
"rhel.7.0" | "rhel.7.1" | "rhel.7.2")
|
||||
"rhel.7"*)
|
||||
echo "rhel"
|
||||
return 0
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue