Merge pull request #8902 from rakeshsinghranchi/EnableDotnetInstallToSupportNewDistros
Enabling ubuntu.18.04,opensuse.42.3 and fedora.27 in dotnet-install script
This commit is contained in:
commit
5a5e35cf02
1 changed files with 12 additions and 0 deletions
12
scripts/obtain/dotnet-install.sh
vendored
12
scripts/obtain/dotnet-install.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue