From 13cf65ea8fc9c5a8a82c3b8552c4a975407fd3b7 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Fri, 20 Jan 2017 17:19:35 -0500 Subject: [PATCH] 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. --- scripts/obtain/dotnet-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh index 7f6f86956..89ad61b66 100755 --- a/scripts/obtain/dotnet-install.sh +++ b/scripts/obtain/dotnet-install.sh @@ -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 ;;