From d2bbe1faa294012cec60b640e6522e0674224d3f Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Tue, 18 Oct 2016 11:21:38 -0700 Subject: [PATCH] Add support for fedora.24 and alpine.3.4.3 in dotnet-install.sh I've also included the string we attempted to match against if the installation fails. --- scripts/obtain/dotnet-install.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh index 0e1e26f75..7f6f86956 100755 --- a/scripts/obtain/dotnet-install.sh +++ b/scripts/obtain/dotnet-install.sh @@ -80,6 +80,10 @@ get_current_os_name() { echo "fedora.23" return 0 ;; + "fedora.24") + echo "fedora.24" + return 0 + ;; "opensuse.13.2") echo "opensuse.13.2" return 0 @@ -104,11 +108,15 @@ get_current_os_name() { echo "ubuntu.16.10" return 0 ;; + "alpine.3.4.3") + echo "alpine" + return 0 + ;; esac fi fi - say_err "OS name could not be detected" + say_err "OS name could not be detected: $ID.$VERSION_ID" return 1 }