Merge pull request #4442 from dotnet/mellinoe/update-dotnet-install.sh-1
Add support for fedora.24 and alpine.3.4.3 in dotnet-install.sh
This commit is contained in:
commit
6373cdde60
1 changed files with 9 additions and 1 deletions
10
scripts/obtain/dotnet-install.sh
vendored
10
scripts/obtain/dotnet-install.sh
vendored
|
@ -80,6 +80,10 @@ get_current_os_name() {
|
||||||
echo "fedora.23"
|
echo "fedora.23"
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
"fedora.24")
|
||||||
|
echo "fedora.24"
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
"opensuse.13.2")
|
"opensuse.13.2")
|
||||||
echo "opensuse.13.2"
|
echo "opensuse.13.2"
|
||||||
return 0
|
return 0
|
||||||
|
@ -104,11 +108,15 @@ get_current_os_name() {
|
||||||
echo "ubuntu.16.10"
|
echo "ubuntu.16.10"
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
"alpine.3.4.3")
|
||||||
|
echo "alpine"
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
say_err "OS name could not be detected"
|
say_err "OS name could not be detected: $ID.$VERSION_ID"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue