From 510cff49d8b6292cc8a5d093019b3e1a1686f238 Mon Sep 17 00:00:00 2001 From: Rakesh Ranjan Singh Date: Mon, 26 Mar 2018 11:28:06 -0700 Subject: [PATCH] Enabling ubuntu.18.04,opensuse.42.3 and fedora.27 in dotnet-install script --- scripts/obtain/dotnet-install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh index 00a42d872..c3eaa295c 100755 --- a/scripts/obtain/dotnet-install.sh +++ b/scripts/obtain/dotnet-install.sh @@ -79,6 +79,10 @@ get_legacy_os_name_from_platform() { echo "fedora.23" return 0 ;; + "fedora.27") + echo "fedora.27" + return 0 + ;; "fedora.24") echo "fedora.24" return 0 @@ -91,6 +95,10 @@ get_legacy_os_name_from_platform() { echo "opensuse.42.1" return 0 ;; + "opensuse.42.3") + echo "opensuse.42.3" + return 0 + ;; "rhel.7"*) echo "rhel" return 0 @@ -107,6 +115,10 @@ get_legacy_os_name_from_platform() { echo "ubuntu.16.10" return 0 ;; + "ubuntu.18.04") + echo "ubuntu.18.04" + return 0 + ;; "alpine.3.4.3") echo "alpine" return 0