mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 17:53:58 +08:00
Temporarely pin dotnet obtain script url
This commit is contained in:
parent
8bc8930959
commit
f5ca586118
@ -859,7 +859,9 @@ function Install-Dotnet {
|
|||||||
# Note that when it is null, Invoke-Expression (but not &) must be used to interpolate properly
|
# Note that when it is null, Invoke-Expression (but not &) must be used to interpolate properly
|
||||||
$sudo = if (!$NoSudo) { "sudo" }
|
$sudo = if (!$NoSudo) { "sudo" }
|
||||||
|
|
||||||
$obtainUrl = "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain"
|
# this url is temporarely alternated because of https://github.com/dotnet/cli/issues/4715
|
||||||
|
# it should be reverted back to "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain" ASAP
|
||||||
|
$obtainUrl = "https://raw.githubusercontent.com/dotnet/cli/9855dc0088cf7e56e24860c734f33fe8353f38a6/scripts/obtain"
|
||||||
|
|
||||||
# Install for Linux and OS X
|
# Install for Linux and OS X
|
||||||
if ($IsLinux -or $IsOSX) {
|
if ($IsLinux -or $IsOSX) {
|
||||||
|
Loading…
Reference in New Issue
Block a user